1 Kings 13:22
But camest back, and hast eaten bread and drunk water in the place, of the which the Lord did say to thee, Eat no bread, and drink no water; thy carcase shall not come unto the sepulchre of thy fathers. But camest back, and hast eaten bread and drunk water in the place, of the which the Lord did say to thee, Eat no bread, and drink no water; thy carcase shall not come unto the sepulchre of thy fathers.
The verse condemns the man of God for coming back and eating bread and drinking water at Bethel, in the very place where the Lord had directly commanded him not to eat or drink. He did so after accepting an old prophet's false claim to have a new message and counterorder from God, and trusting that lie led to his death. A claimed prophetic message must never be allowed to override a command God has already given. As judgment for that disobedient eating and drinking, God declared that his carcass would not come to the sepulchre of his fathers, that his body would not be buried in his ancestral tomb.
The announced penalty was fulfilled when he died on the way, killed by a lion, with his body left by the road. The sentence being carried out confirmed the truth of God's word and of the prophecy. His death was evidence to Jeroboam that God's word was true and served the king as a warning against continuing in disobedience. It should have led Jeroboam to turn from evil and serve the Lord.
The account has been misapplied to accuse another prophet of being honest but deceived like the man of God. The proper challenge in answer to that use is to show any actual disobedience to God, rather than misrepresenting the testimony.