"God gave him this prophecy"
Beor was Balaam's father. See how you translated this in Numbers 22:5.
This means that he sees and understands clearly.