Numbers 22:32-34 New English Translation (NET)

32. The angel of the Lord said to him, “Why have you beaten your donkey these three times? Look, I came out to oppose you because what you are doing is perverse before me.

33. The donkey saw me and turned from me these three times. If she had not turned from me, I would have killed you but saved her alive.”

34. Balaam said to the angel of the Lord, “I have sinned, for I did not know that you stood against me in the road. So now, if it is evil in your sight, I will go back home.”

Numbers 22