2 Samuel 16:23

Now in those days the advice of Ahithophel was like the consultation of the word of God. Such was the regard that both David and Absalom had for Ahithophel’s advice.
BSB · Berean Standard Bible
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.

Note oracle: Heb. word

KJV · King James Version
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.
WEB · World English Bible
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.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

as if
Numbers 27:21; 1 Samuel 30:8; Psalm 28:2; 1 Peter 4:11
oracle of God
Heb. word of God.
Psalm 19:7
all the counsel
2 Samuel 17:14, 23; Job 5:12; Job 28:28; Jeremiah 4:22; Jeremiah 8:9; Matthew 11:25; Luke 16:8; Romans 1:22; 1 Corinthians 3:19, 20; James 3:13–18
both
2 Samuel 15:12; Ecclesiastes 10:1