David was told that Ahithophel was among the conspirators with Absalom. And David said, “O Lord, I pray you, turn the counsel of Ahithophel into foolishness.”
Absalom and all the men of Israel said, “The counsel of Hushai the Archite is better than the counsel of Ahithophel.” For the Lord had ordained to defeat the good counsel of Ahithophel, so that the Lord might bring ruin on Absalom.
The mind of the king of Aram was greatly perturbed because of this; he called his officers and said to them, “Now tell me: Who among us is betraying us to the king of Israel?”