God came to Balaam1 and asked,2 "Who are these men with you?"
References for Numbers 22:9
Balaam said to God, "Balak son of Zippor, king of Moab, sent me this message:
'A people that has come out of Egypt covers the face of the land. Now come and put a curse on them for me. Perhaps then I will be able to fight them and drive them away.' "
But God said to Balaam, "Do not go with them. You must not put a curse on those people, because they are blessed.3"
References for Numbers 22:12
The next morning Balaam got up and said to Balak's princes, "Go back to your own country, for the LORD has refused to let me go with you."
So the Moabite princes returned to Balak and said, "Balaam refused to come with us."