Numbers 22:24-35 NASB1995
Then the angel of the LORD stood in a narrow path of the vineyards, with a wall on this side and a wall on that side. When the donkey saw the angel of the LORD, she pressed herself to the wall and pressed Balaam’s foot against the wall, so he struck her again. The angel of the LORD went further, and stood in a narrow place where there was no way to turn to the right hand or the left. When the donkey saw the angel of the LORD, she lay down under Balaam; so Balaam was angry and struck the donkey with his stick. And the LORD opened the mouth of the donkey, and she said to Balaam, “What have I done to you, that you have struck me these three times?” Then Balaam said to the donkey, “Because you have made a mockery of me! If there had been a sword in my hand, I would have killed you by now.” The donkey said to Balaam, “Am I not your donkey on which you have ridden all your life to this day? Have I ever been accustomed to do so to you?” And he said, “No.” Then the LORD opened the eyes of Balaam, and he saw the angel of the LORD standing in the way with his drawn sword in his hand; and he bowed all the way to the ground. The angel of the LORD said to him, “Why have you struck your donkey these three times? Behold, I have come out as an adversary, because your way was contrary to me. But the donkey saw me and turned aside from me these three times. If she had not turned aside from me, I would surely have killed you just now, and let her live.” Balaam said to the angel of the LORD, “I have sinned, for I did not know that you were standing in the way against me. Now then, if it is displeasing to you, I will turn back.” But the angel of the LORD said to Balaam, “Go with the men, but you shall speak only the word which I tell you.” So Balaam went along with the leaders of Balak.