Someone told David, “Ahithophel is one of the people with Absalom who made secret plans against you.” So David prayed, “Lord, please make Ahithophel’s advice foolish.”
Absalom and all the Israelites said, “The advice of Hushai the Arkite is better than that of Ahithophel.” (The Lord had planned to destroy the good advice of Ahithophel so the Lord could bring disaster on Absalom.)