International Standard Version Now Ahithophel's advice that he provided at that time was being compared to one who inquired of God, so highly regarded was Ahithophel's counsel by both David and Absalom.
American Standard Version And the counsel of Ahithophel, which he gave in those days, was as if a man inquired at the oracle of God: so was all the counsel of Ahithophel both with David and with Absalom.
Young's Literal Translation And the counsel of Ahithophel which he counselled in those days is as when one inquireth at the word of God; so is all the counsel of Ahithophel both to David and to Absalom.