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.
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.
Then the LORD's messenger stood in the narrow path between vineyards with a stone wall on each side.
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.
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.
The donkey saw the LORD's messenger and lay down underneath Balaam. Balaam became angry and beat the donkey with the rod.
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?"
Balaam said to the donkey, "Because you've tormented me. If I had a sword in my hand, I'd kill you now."
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."
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.
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.
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."
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."
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.