Numbers 22:34-36 World English Bible (WEB)
34 Balaam said to Yahweh’s angel, “I have sinned; for I didn’t know that you stood in the way against me. Now therefore, if it displeases you, I will go back again.”
35 Yahweh’s angel said to Balaam, “Go with the men; but you shall only speak the word that I shall speak to you.”
So Balaam went with the princes of Balak. 36 When Balak heard that Balaam had come, he went out to meet him to the City of Moab, which is on the border of the Arnon, which is in the utmost part of the border.