And while he was offering sacrifices, Absalom also sent to the town of Gilo for Ahithophel, who was one of King David's advisers. The plot against the king gained strength, and Absalom's followers grew in number.
Absalom and all the Israelites said, “Hushai's advice is better than Ahithophel's.” The Lord had decided that Ahithophel's good advice would not be followed, so that disaster would come on Absalom.
When Ahithophel saw that his advice had not been followed, he saddled his donkey and went back to his hometown. After putting his affairs in order, he hanged himself. He was buried in the family grave.
I am going to frustrate the plans of the Egyptians and destroy their morale. They will ask their idols to help them, and they will go and consult mediums and ask the spirits of the dead for advice.
“I am not talking about all of you; I know those I have chosen. But the scripture must come true that says, ‘The man who shared my food turned against me.’
So then, where does that leave the wise? or the scholars? or the skillful debaters of this world? God has shown that this world's wisdom is foolishness!