Numbers 22:3-11

ISV(i) 3 As a result, Moab greatly feared the people, because they were so numerous. Because a sense of impending doom was afflicting the Moabites as they faced the Israelis, 4 the Moabites told the elders of Midian, “This horde of people is about to lick up everything around us, like an ox licks up the green ground.”
At that time, Zippor’s son Balak was the king of Moab. 5 He sent messengers to Beor’s son Balaam in Pethor, near the Euphrates River, the land where the descendants of his people originated, to summon his aid. He said, “Look! A group of people have escaped from Egypt. They cover the surface of the whole earth, and are sitting here right in front of me. 6 So come right now and curse this people for me, because there are too many of them for me to handle. Perhaps I’ll be able to strike them down and drive them out of the land, since I know that whomever you bless is blessed and whomever you curse is cursed.”
7 So the elders of Moab and Midian left to visit Balaam, bringing an honorarium with them, and communicated Balak’s concerns to him. 8 In answer, Balaam told them, “Stay here for the night and I’ll bring back a message to you, depending on what the LORD says to me.” So the officers of Moab stayed with Balaam overnight.
9 God Forbids Balaam to CooperateGod visited Balaam and asked him, “Who are these men with you?”
10 Then Balaam told God, “Zippor’s son Balak, king of Moab, sent them to me and said, 11 ‘Look! A group of people have escaped from Egypt. They cover the surface of the whole earth! So come right now and curse them for me. Perhaps I’ll be able to fight against them and drive them out.’”