2 Samuel 16:23 in the King James Version
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.
Context
22 So they spread a tent for Absalom on the top of the house, and Absalom went in to his father’s concubines in the sight of all Israel.
23 The counsel of Ahithophel, which he gave in those days, was as if a man inquired at the inner sanctuary of God. All the counsel of Ahithophel was like this both with David and with Absalom.