2 Samuel 16:23

Overview - 2 Samuel 16
Ziba, by presents and false suggestions, obtains his master's inheritance.
At Bahurim Shimei curse David.
David with patience abstains, and restrains others, from revenge.
15 Hushai insinuates himself into Absalom's counsel.
20 Ahithophel's counsel.
Treasury of Scripture Knowledge

2 Samuel 16:23  (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.

as if
Numbers 27:21 ; 1 Samuel 30:8 ; Psalms 28:2 ; 1 Peter 4:11

oracle of God
Hebrew word of God.
Psalms 19:7

so was
The first counsel of this sagacious but wicked man to Absalom was more like an oracle of Satan, both for subtlety and atrocity. He advised the shameless measure just detailed, in order to establish Absalom, and to preclude the possibility of a reconciliation with David. The wives of a conquered king were always the property of the conqueror; and in possessing these he appeared to possess the right to the kingdom.

all the counsel
2 Samuel 17:14 2 Samuel 17:23 Job 5:12 ; 28:28 Jeremiah 4:22 ; 8:9 Matthew 11:25 ; Luke 16:8 ; Romans 1:22
1 Corinthians 3:19 1 Corinthians 3:20 ; James 3:13-18

15:12 Ecclesiastes 10:1