Numbers 24:16-20 New International Version (NIV)

16. the prophecy of one who hears the words of God, who has knowledge from the Most High, who sees a vision from the Almighty, who falls prostrate, and whose eyes are opened:

17. “I see him, but not now; I behold him, but not near. A star will come out of Jacob; a scepter will rise out of Israel. He will crush the foreheads of Moab, the skulls of all the people of Sheth.

18. Edom will be conquered; Seir, his enemy, will be conquered, but Israel will grow strong.

19. A ruler will come out of Jacob and destroy the survivors of the city.”

20. Then Balaam saw Amalek and spoke his message: “Amalek was first among the nations, but their end will be utter destruction.”

Numbers 24