Read 2 Samuel 16:23 Using Other Translations
And the counsel of Ahithophel, which he counselled in those days, was as if a man had enquired at the oracle of God: so was all the counsel of Ahithophel both with David and with Absalom.
Now in those days the counsel that Ahithophel gave was as if one consulted the word of God; so was all the counsel of Ahithophel esteemed, both by David and by Absalom.
Absalom followed Ahithophel’s advice, just as David had done. For every word Ahithophel spoke seemed as wise as though it had come directly from the mouth of God.