22 God’s anger was kindled because he went; and the angel of Yahweh placed himself in the way for an adversary against him. Now he was riding on his donkey, and his two servants were with him. 23 The donkey saw the angel of Yahweh standing in the way, with his sword drawn in his hand; and the donkey turned aside out of the way, and went into the field: and Balaam struck the donkey, to turn her into the way. 24 Then the angel of Yahweh stood in a narrow path between the vineyards, a wall being on this side, and a wall on that side. 25 The donkey saw the angel of Yahweh, and she thrust herself to the wall, and crushed Balaam’s foot against the wall: and he struck her again. 26 The angel of Yahweh went further, and stood in a narrow place, where there was no way to turn either to the right hand or to the left. 27 The donkey saw the angel of Yahweh, and she lay down under Balaam: and Balaam’s anger was kindled, and he struck the donkey with his staff. 28 Yahweh opened the mouth of the donkey, and she said to Balaam, “What have I done to you, that you have struck me these three times?” 29 Balaam said to the donkey, “Because you have mocked me, I wish there were a sword in my hand, for now I would have killed you.” 30 The donkey said to Balaam, “Am I not your donkey, on which you have ridden all your life long to this day? Was I ever in the habit of doing so to you?”

He said, “No.” 31 Then Yahweh opened the eyes of Balaam, and he saw the angel of Yahweh standing in the way, with his sword drawn in his hand; and he bowed his head, and fell on his face. 32 The angel of Yahweh said to him, “Why have you struck your donkey these three times? Behold, I have come forth as an adversary, because your way is perverse before me: 33 and the donkey saw me, and turned aside before me these three times. Unless she had turned aside from me, surely now I would have killed you, and saved her alive.” 34 Balaam said to the angel of Yahweh, “I have sinned; for I didn’t know that you stood in the way against me. Now therefore, if it displeases you, I will go back again.” 35 The angel of Yahweh said to Balaam, “Go with the men; but only the word that I shall speak to you, that you shall speak.”

So Balaam went with the princes of Balak.

Matthew Henry's Commentary on Numbers 22:22-35

Commentary on Numbers 22:22-35

(Read Numbers 22:22-35)

We must not think, that because God does not always by his providence restrain men from sin, therefore he approves of it, or that it is not hateful to him. The holy angels oppose sin, and perhaps are employed in preventing it more than we are aware. This angel was an adversary to Balaam, because Balaam counted him his adversary; those are really our best friends, and we ought so to reckon them, who stop our progress in sinful ways. Balaam has notice of God's displeasure by the ass. It is common for those whose hearts are fully set in them to do evil, to push on violently, through the difficulties Providence lays in their way. The Lord opened the mouth of the ass. This was a great miracle wrought by the power of God. He who made man speak, could, when he pleased, make the ass to speak with man's voice. The ass complained of Balaam's cruelty. The righteous God does not allow the meanest or weakest to be abused; but they shall be able to speak in their own defence, or he will some way or other speak for them. Balaam at length has his eyes opened. God has many ways to bring down the hard and unhumbled heart. When our eyes are opened, we shall see the danger of sinful ways, and how much it was for our advantage to be crossed. Balaam seemed to relent; I have sinned; but it does not appear that he was sensible of this wickedness of his heart, or willing to own it. If he finds he cannot go forward, he will be content, since there is no remedy, to go back. Thus many leave their sins, only because their sins have left them. The angel declared that he should not only be unable to curse Israel, but should be forced to bless them: this would be more for the glory of God, and to his own confusion, than if he had turned back.