Numbers 22:22-35 New Revised Standard Version (NRSV)
Balaam, the Donkey, and the Angel
22 God’s anger was kindled because he was going, and the angel of the Lord took his stand in the road as his adversary. Now he was riding on the donkey, and his two servants were with him. 23 The donkey saw the angel of the Lord standing in the road, with a drawn sword in his hand; so the donkey turned off the road, and went into the field; and Balaam struck the donkey, to turn it back onto the road. 24 Then the angel of the Lord stood in a narrow path between the vineyards, with a wall on either side. 25 When the donkey saw the angel of the Lord, it scraped against the wall, and scraped Balaam’s foot against the wall; so he struck it again. 26 Then the angel of the Lord went ahead, and stood in a narrow place, where there was no way to turn either to the right or to the left. 27 When the donkey saw the angel of the Lord, it lay down under Balaam; and Balaam’s anger was kindled, and he struck the donkey with his staff. 28 Then the Lord opened the mouth of the donkey, and it said to Balaam, “What have I done to you, that you have struck me these three times?” 29 Balaam said to the donkey, “Because you have made a fool of me! I wish I had a sword in my hand! I would kill you right now!” 30 But the donkey said to Balaam, “Am I not your donkey, which you have ridden all your life to this day? Have I been in the habit of treating you this way?” And he said, “No.”
31 Then the Lord opened the eyes of Balaam, and he saw the angel of the Lord standing in the road, with his drawn sword in his hand; and he bowed down, falling on his face. 32 The angel of the Lord said to him, “Why have you struck your donkey these three times? I have come out as an adversary, because your way is perverse[a] before me. 33 The donkey saw me, and turned away from me these three times. If it had not turned away from me, surely just now I would have killed you and let it live.” 34 Then Balaam said to the angel of the Lord, “I have sinned, for I did not know that you were standing in the road to oppose me. Now therefore, if it is displeasing to you, I will return home.” 35 The angel of the Lord said to Balaam, “Go with the men; but speak only what I tell you to speak.” So Balaam went on with the officials of Balak.