2 Samuel 17:14
Then Absalom and all the men of Israel said, "The counsel of Hushai the Archite is better than the counsel of Ahithophel." For athe Lord had ordained to thwart the good counsel of Ahithophel, so that the Lord might bring calamity on Absalom.