And God came to Balaam at night and said to him, “If the men have come to call you, rise and go with them; but you shall do only the thing that I tell you.”
But the angel of the Lord said to Balaam, “Go with the men, but you shall speak only the word that I tell you.” So Balaam went along with the representatives of Balak.
So he came to him, and behold, he was standing beside his burnt offering, and the leaders of Moab with him. And Balak said to him, “What has the Lord spoken?”
When Balaam saw that it pleased the Lord to bless Israel, he did not go as at other times to seek omens, rather he turned his attention toward the wilderness.
I will raise up for them a prophet from among their countrymen like you, and I will put My words in his mouth, and he shall speak to them everything that I command him.