Numbers 22:5-7
22:5 And he sent messengers to Balaam son of Beor at Pethor, which is by the Euphrates River in the land of Amaw, to summon him, saying, “Look, a nation has come out of Egypt. They cover the face of the earth, and they are settling next to me.
22:6 So now, please come and curse this nation for me, for they are too powerful for me. Perhaps I will prevail so that we may conquer them and drive them out of the land. For I know that whoever you bless is blessed, and whoever you curse is cursed.”
22:7 So the elders of Moab and the elders of Midian departed with the fee for divination in their hand. They came to Balaam and reported to him the words of Balak.