Numbers 22:22-35

Balaam and the LORD’s messenger

22 Then God became angry because he went. So while he was riding on his donkey accompanied by his two servants, the LORD's messenger stood in the road as his adversary.
23 The donkey saw the LORD's messenger standing in the road with his sword drawn in his hand, so the donkey turned from the road and went into the field. Balaam struck the donkey in order to turn him back onto the road.
24 Then the LORD's messenger stood in the narrow path between vineyards with a stone wall on each side.
25 When the donkey saw the LORD's messenger, it leaned against the wall and squeezed Balaam's foot against the wall, so he continued to beat it.
26 The LORD's messenger persisted and crossed over and stood in a narrow place, where it wasn't possible to turn either right or left.
27 The donkey saw the LORD's messenger and lay down underneath Balaam. Balaam became angry and beat the donkey with the rod.
28 Then the LORD opened the donkey's mouth and it said to Balaam, "What have I done to you that you've beaten me these three times?"
29 Balaam said to the donkey, "Because you've tormented me. If I had a sword in my hand, I'd kill you now."
30 The donkey said to Balaam, "Am I not your donkey, on whom you've often ridden to this day? Have I been in the habit of doing this to you?" Balaam said, "No."
31 Then the LORD uncovered Balaam's eyes, and Balaam saw the LORD's messenger standing in the road with his sword drawn in his hand. Then he bowed low and worshipped.
32 The LORD's messenger said to him, "Why have you beaten your donkey these three times? I've come out here as an adversary, because you took the road recklessly in front of me.
33 The donkey saw me and turned away from me these three times. If it hadn't turned away from me, I would just now have killed you and let it live."
34 Balaam said to the LORD's messenger, "I've sinned, because I didn't know that you were standing against me in the road. Now, if you think it's wrong, I'll go back."
35 The LORD's messenger said to Balaam, "Go with the men. But don't say anything. Say only that which I tell you." So Balaam went with Balak's officials.