3 So Moab was terrified because of the people, for they were numerous. Moab was overcome with fear because of the sons of Israel. 4 Moab said to the elders of Midian, “Now this horde will lick up all that is around us, just as the ox licks up the grass of the field.” And Balak the son of Zippor was the king of Moab at that time. 5 So he sent messengers to (a)Balaam [a famous prophet-diviner] the son of Beor at Pethor, which is by the [Euphrates] River, in the land of the descendants of his people, to call for him, saying, “There is a people who have come out of Egypt; behold, they cover the surface of the land, and they are living opposite me. 6 Now please come, curse these people for me, for they are too powerful for me; perhaps I will be able to defeat them and drive them out of the land. For I know [your reputation] that he whom you bless is blessed, and he whom you curse is cursed.”
7 So the elders of Moab and of Midian departed with fees for divination (foretelling) in hand; and they came to Balaam and told him the words of Balak. 8 Balaam said to them, “Spend the night here and I will bring word back to you as the Lord may speak to me.” So the leaders of Moab stayed with Balaam [that night]. 9 God came to Balaam, and said, “Who are these men with you?” 10 Balaam said to God, “Balak the son of Zippor, king of Moab, has sent word to me: 11 ‘Hear this, the people who came out of Egypt cover the surface of the land; come now, curse them for me. Perhaps I may be able to fight against them and drive them out.’”

Footnotes:

a. Numbers 22:5: Balaam had some awareness and knowledge regarding the true God, but he abused the office of prophet.