Numbers 22:22-31

22 And God's anger was kindled because he went: and the angel of the LORD stood in the way for an adversary against him. Now he was riding on his ass, and his two servants were with him.

23 And the ass saw the angel of the LORD standing in the way, and his sword drawn in his hand: and the ass turned aside out of the way, and went into the field: and Balaam smote the ass, to turn her into the way.

24 But the angel of the LORD stood in a path of the vineyards, a wall being on this side, and a wall on that side.

25 And when the ass saw the angel of the LORD, she thrust herself to the wall, and crushed Balaam's foot against the wall: and he smote her again.

26 And the angel of the LORD went further, and stood in a narrow place, where was no way to turn either to the right hand or to the left.

27 And when the ass saw the angel of the LORD, she fell down under Balaam: and Balaam's anger was kindled, and he smote the ass with a staff.

28 And the LORD opened the mouth of the ass, and she said to Balaam, What have I done to you, that you have smitten me these three times?

29 And Balaam said to the ass, Because you have mocked me: I would there were a sword in my hand, for now would I kill you.

30 And the ass said to Balaam, Am not I your ass, on which you have ridden ever since I was your to this day? was I ever wont to do so to you? And he said, No.

31 Then the LORD opened the eyes of Balaam, and he saw the angel of the LORD standing in the way, and his sword drawn in his hand: and he bowed down his head, and fell flat on his face.