Now the advice of Ahithophel, which he gave in those days, was as if one had inquired at the oracle of God. So was all the advice of Ahithophel both with David and with Absalom.
2 Samuel 16:23
Surrounding context
16:22 So they pitched 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.
16:23 Now the advice of Ahithophel, which he gave in those days, was as if one had inquired at the oracle of God. So was all the advice of Ahithophel both with David and with Absalom.