Numbers 22:31

The Message Bible (MSG)
Then God helped Balaam see what was going on: He saw God’s angel blocking the way, brandishing a sword. Balaam fell to the ground, his face in the dirt.

32-33 God’s angel said to him: “Why have you beaten your poor donkey these three times? I have come here to block your way because you’re getting way ahead of yourself. The donkey saw me and turned away from me these three times. If she hadn’t, I would have killed you by this time, but not the donkey. I would have let her off.”

Read Numbers 22:31 in other translations