2 Samuel 16:23

23 In those days both David and Absalom thought that Ahithophel's advice was like getting an answer from God.