25 When the donkey saw the angel of the LORD, it pressed close to the wall, crushing Balaam’s foot against it. So he beat the donkey again.

Read Numbers 22:25 Using Other Translations

And when the ass saw the angel of the LORD, she thrust herself unto the wall, and crushed Balaam's foot against the wall: and he smote her again.
And when the donkey saw the angel of the LORD, she pushed against the wall and pressed Balaam's foot against the wall. So he struck her again.
When the donkey saw the angel of the LORD, it tried to squeeze by and crushed Balaam’s foot against the wall. So Balaam beat the donkey again.