In Numbers 22—24, we find the story about Balaam and the king of Moab, a man called Balak. King Balak wanted to weaken the children of Israel, who on their way to Canaan had moved in on his territory. Balak sent to Balaam, who lived in Mesopotamia along the Euphrates River (Numbers 22:5), and asked him to curse Israel in exchange for a reward. Balaam was apparently willing to do this but said he needed God’s permission (verse 8). Balaam, of course, had no power, in himself, to curse Israel, but, if God were willing to curse Israel, Balaam would be rewarded through Balak. God told Balaam, “You must not put a curse on those people, because they are blessed” (verse 12). King Balak then sent “other officials, more numerous and more distinguished than the first” (verse 16), promising a handsome reward. This time God said, “Go with them, but do only what I tell you” (verse 20).
The next morning, Balaam saddled his donkey and left for Moab (Numbers 22:21). God sent an angel to oppose Balaam on the way. The donkey Balaam was riding could see the angel, but Balaam could not, and when the donkey three times moved to avoid the angel, Balaam was angry and beat the animal. “Then the Lord opened the donkey’s mouth” (verse 28), and it rebuked the prophet for the beatings. “Then the Lord opened Balaam’s eyes, and he saw the angel of the Lord standing in the road with his sword drawn” (verse 31). The angel told Balaam that he certainly would have killed Balaam had not the donkey spared his life. Ironically, a dumb beast had more wisdom than God’s prophet. The angel then repeated to Balaam the instruction that he was only to speak what God told him to speak concerning the Hebrews (verses 33–35).