Numbers 22:23-33

23 and the ass seeth the messenger of Jehovah standing in the way, and his drawn sword in his hand, and the ass turneth aside out of the way, and goeth into a field, and Balaam smiteth the ass to turn it aside into the way.
24 And the messenger of Jehovah standeth in a narrow path of the vineyards -- a wall on this [side] and a wall on that --
25 and the ass seeth the messenger of Jehovah, and is pressed unto the wall, and presseth Balaam's foot unto the wall, and he addeth to smite her;
26 and the messenger of Jehovah addeth to pass over, and standeth in a strait place where there is no way to turn aside -- right or left --
27 and the ass seeth the messenger of Jehovah, and croucheth under Balaam, and the anger of Balaam burneth, and he smiteth the ass with a staff.
28 And Jehovah openeth the mouth of the ass, and she saith to Balaam, `What have I done to thee that thou hast smitten me these three times?'
29 and Balaam saith to the ass, `Because thou hast rolled thyself against me; oh that there were a sword in my hand, for now I had slain thee;'
30 and the ass saith unto Balaam, `Am not I thine ass, upon which thou hast ridden since [I was] thine unto this day? have I at all been accustomed to do to thee thus?' and he saith, `No.'
31 And Jehovah uncovereth the eyes of Balaam, and he seeeth the messenger of Jehovah standing in the way, and his drawn sword in his hand, and he boweth and doth obeisance, to his face;
32 and the messenger of Jehovah saith unto him, `Wherefore hast thou smitten thine ass these three times? lo, I -- I have come out for an adversary, for [thy] way hath been perverse before me,
33 and the ass seeth me, and turneth aside at my presence these three times; unless she had turned aside from my presence, surely now also, thee I had slain, and her kept alive.'

Numbers 22:23-33 Meaning and Commentary

INTRODUCTION TO NUMBERS 22

The children of Israel being come into the plains of Moab, put the king of Moab into a panic, who expressed his fears to the elders of Midian, Nu 22:1-4 and sent for Balaam the soothsayer to curse the people of Israel, but he, upon consulting the Lord refused to come, Nu 22:5-14, on which the king of Moab sent to him a second time, making large promises of preferment to him, and who at this time got leave from the Lord to go with the messengers, Nu 22:15-21, but was met with in the way by an angel of the Lord, who would have slain him had it not been for his ass, of which a very wonderful revelation is given, Nu 22:22-35, and the chapter is closed with the interview between Balak king of Moab and Balaam, and an account of what passed between them, and what was done by them, Nu 22:36-41.

Young's Literal Translation is in the public domain.