A prophet was told not to eat or drink or return by the way he came but another old prophet lied to him saying an angel told him to invite him for food
1 Kings 13:16-18 The man of God said, “I cannot turn back and go with you, nor can I eat bread or drink water with you in this place. 17 I have been told by the word of the Lord: ‘You must not eat bread or drink water there or return by the way you came.’” 18 The old prophet answered, “I too am a prophet, as you are. And an angel said to me by the word of the Lord: ‘Bring him back with you to your house so that he may eat bread and drink water.’” (But he was lying to him.)
Then God punished the deceived prophet for eating and drinking with the old prophet
“This is what the Lord says: ‘You have defied the word of the Lord and have not kept the command the Lord your God gave you. 22 You came back and ate bread and drank water in the place where he told you not to eat or drink. Therefore your body will not be buried in the tomb of your ancestors.’” 23 When the man of God had finished eating and drinking, the prophet who had brought him back saddled his donkey for him. 24 As he went on his way, a lion met him on the road and killed him,
Is it fair for God to punish the deceived prophet because he was told by the old prophet that an angel had told him to bring back the deceived prophet to eat and drink with him. How is it fair for God to punish him for being deceived