Numbers 22
31 Ref Then Yahweh opened the eyes of Balaam, and he saw the angel of Yahweh standing in the way, with his sword drawn in his hand; and he bowed his head, and fell on his face.
32 Ref The angel of Yahweh said to him, Why have you struck your donkey these three times? behold, I am come forth for an adversary, because your way is perverse before me:
33 Ref and the donkey saw me, and turned aside before me these three times: unless she had turned aside from me, surely now I had even slain you, and saved her alive.
34 Ref Balaam said to the angel of Yahweh, I have sinned; for I didn't know that you stood in the way against me: now therefore, if it displease you, I will get me back again.
35 Ref The angel of Yahweh said to Balaam, Go with the men; but only the word that I shall speak to you, that you shall speak. So Balaam went with the princes of Balak.