NET
23 In those days Ahithophel’s advice was considered as valuable as a prophetic revelation. Both David and Absalom highly regarded the advice of Ahithophel.
Darby
23 And the counsel of Ahithophel, which he counselled in those days, was as if a man had inquired of the word of God: so was all the counsel of Ahithophel both with David and with Absalom.
KJV
23 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.