Numbers 24:16

He hath said, which heard the words of God, and knew the knowledge of the most High, which saw the vision of the Almighty, falling into a trance, but having his eyes open:

Cross-reference

Numbers 24:4 uses the same self-description: the oracle of one who hears God's words and sees visions of the Almighty.

Numbers 24:3 has nearly identical wording: 'oracle of Balaam... whose eye is opened'—same oracle formula.

2 Samuel 23:1 begins David's last words with the same 'oracle of' formula, identifying himself as God's anointed.

2 Samuel 23:2 Related theme

2 Samuel 23:2 claims the Spirit speaks through David, echoing Balaam's claim to hear God's words.