28 Then the LORD caused the donkey to speak. "What have I done to you that deserves your beating me these three times?" it asked Balaam.
29 "Because you have made me look like a fool!" Balaam shouted. "If I had a sword with me, I would kill you!"
30 "But I am the same donkey you always ride on," the donkey answered. "Have I ever done anything like this before?" "No," he admitted.
31 Then the LORD opened Balaam's eyes, and he saw the angel of the LORD standing in the roadway with a drawn sword in his hand. Balaam fell face down on the ground before him.
32 "Why did you beat your donkey those three times?" the angel of the LORD demanded. "I have come to block your way because you are stubbornly resisting me.
33 Three times the donkey saw me and shied away; otherwise, I would certainly have killed you by now and spared the donkey."
34 Then Balaam confessed to the angel of the LORD, "I have sinned. I did not realize you were standing in the road to block my way. I will go back home if you are against my going."
35 But the angel of the LORD told him, "Go with these men, but you may say only what I tell you to say." So Balaam went on with Balak's officials.
36 When King Balak heard that Balaam was on the way, he went out to meet him at a Moabite town on the Arnon River at the border of his land.
37 "Did I not send you an urgent invitation? Why didn't you come right away?" Balak asked Balaam. "Didn't you believe me when I said I would reward you richly?"
38 Balaam replied, "I have come, but I have no power to say just anything. I will speak only the messages that God gives me."
39 Then Balaam accompanied Balak to Kiriath-huzoth,
40 where the king sacrificed cattle and sheep. He sent portions of the meat to Balaam and the officials who were with him.
41 The next morning Balak took Balaam up to Bamoth-baal. From there he could see the people of Israel spread out below him.
Read Numbers 23