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.English Standard Version
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.Catholic Public Domain Version
Now the counsel of Ahithophel, which he gave in those days, was treated as if one were consulting God. So was every counsel of Ahithophel, both when he was with David, and when he was with Absalom