2 Samuel 17:14

So Absalom and all the men of Israel said, "The advice of Hushai the Archite is better than the advice of Ahithophel." For the LORD had purposed to defeat the good advice of Ahithophel, to the intent that the LORD might bring disaster on Absalom.