22 But God was angry because he was going, and the angel of the LORD took his stand in the way as an adversary against him. Now he was riding on his donkey and his two servants were with him. 23 When the donkey saw the angel of the LORD standing in the way with his drawn sword in his hand, the donkey turned off from the way and went into the field; but Balaam struck the donkey to turn her back into the way. 24 Then the angel of the LORD stood in a narrow path of the vineyards, with a wall on this side and a wall on that side. 25 When the donkey saw the angel of the LORD, she pressed herself to the wall and pressed Balaam's foot against the wall, so he struck her again. 26 The angel of the LORD went further, and stood in a narrow place where there was no way to turn to the right hand or the left. 27 When the donkey saw the angel of the LORD, she lay down under Balaam; so Balaam was angry and struck the donkey with his stick. 28 And the LORD 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 Then Balaam said to the donkey, "Because you have made a mockery of me! If there had been a sword in my hand, I would have killed you by now." 30 The donkey said to Balaam, "Am I not your donkey on which you have ridden all your life to this day? Have I ever been accustomed 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 with his drawn sword in his hand; and he bowed all the way to the ground. 32 The angel of the LORD said to him, "Why have you struck your donkey these three times? Behold, I have come out as an adversary, because your way was contrary to me. 33 "But the donkey saw me and turned aside from me these three times. If she had not turned aside from me, I would surely have killed you just now, and let her live." 34 Balaam said to the angel of the LORD, "I have sinned, for I did not know that you were standing in the way against me. Now then, if it is displeasing to you, I will turn back." 35 But the angel of the LORD said to Balaam, "Go with the men, but you shall speak only the word which I tell you." So Balaam went along with the leaders of Balak.
36 When Balak heard that Balaam was coming, he went out to meet him at the city of Moab, which is on the Arnon border, at the extreme end of the border. 37 Then Balak said to Balaam, "Did I not urgently send to you to call you? Why did you not come to me? Am I really unable to honor you?" 38 So Balaam said to Balak, "Behold, I have come now to you! Am I able to speak anything at all? The word that God puts in my mouth, that I shall speak." 39 And Balaam went with Balak, and they came to Kiriath-huzoth. 40 Balak sacrificed oxen and sheep, and sent some to Balaam and the leaders who were with him.
41 Then it came about in the morning that Balak took Balaam and brought him up to the high places of Baal, and he saw from there a portion of the people.