The Israelites set out, and camped in the plains of Moab across the Jordan from Jericho.
Now Balak son of Zippor saw all that Israel had done to the Amorites.
Moab was in great dread of the people, because they were so numerous; Moab was overcome with fear of the people of Israel.
And Moab said to the elders of Midian, "This horde will now lick up all that is around us, as an ox licks up the grass of the field." Now Balak son of Zippor was king of Moab at that time.
He sent messengers to Balaam son of Beor at Pethor, which is on the Euphrates, in the land of Amaw, to summon him, saying, "A people has come out of Egypt; they have spread over the face of the earth, and they have settled next to me.
References for Numbers 22:5
Come now, curse this people for me, since they are stronger than I; perhaps I shall be able to defeat them and drive them from the land; for I know that whomever you bless is blessed, and whomever you curse is cursed."
So the elders of Moab and the elders of Midian departed with the fees for divination in their hand; and they came to Balaam, and gave him Balak's message.