The Israelites marched and camped in the plains of Moab across the Jordan from Jericho.
References for Numbers 22:1
Balak, Zippor's son, saw everything that the Israelites did to the Amorites.
The Moabites greatly feared the people, for they were so numerous. The Moabites were terrified of the Israelites.
The Moabites said to the elders of Midian, "Now this assembly will devour everything around us, as an ox eats up the grass in the field." Balak, Zippor's son, was king of Moab at that time.
He sent messengers to Balaam, Beor's son, at Pethor, which is by the river in the land of his people, to summon him: "A people has come out of Egypt, and they have now covered the land. They have settled next to me.
References for Numbers 22:5
Now please come and curse this people for me because they are stronger than I am. Perhaps I'll be able to destroy them and drive them from the land, for I know that whomever you bless is blessed and whomever you curse is cursed."
So the elders of Moab and Midian went with the payment for divination in their hands. They came to Balaam and told him Balak's words.
He said to them, "Spend the night here and I'll bring back to you a word exactly as the LORD speaks to me." So the officials of Moab stayed with Balaam.
God came to Balaam and said, "Who are these men with you?"
Balaam said to God, "Moab's King Balak, Zippor's son, sent them to me with the message,
‘A people has come out of Egypt and covered the land. Now come and curse them for me. Perhaps I'll be able to fight against them and drive them out.'"
God said to Balaam, "Don't go with them. Don't curse the people, because they are blessed."
Then Balaam arose in the morning and said to Balak's officials, "Go to your land, for the LORD has refused to allow me to go with you."
The officials of Moab arose, they went to Balak, and they said, "Balaam refused to come with us."
Balak continued to send other officials more numerous and important than these.
They came to Balaam and said to him, "This is what Balak, Zippor's son, says: ‘Please let nothing hold you back from coming to me,
for I'll greatly honor you and I'll do anything you ask of me. Please come and curse this people for me.'"
Balaam answered and said to Balak's servants, "If Balak were to give me his house full of silver and gold, I wouldn't be able to do anything, small or great, to break the command of the LORD my God.
Now you also must remain the night here so that I may know what else the LORD may say to me."
God came to Balaam in the night and said to him, "If the men have come to summon you, arise and go with them. But you must do only what I tell you to do."
So Balaam arose in the morning, saddled his donkey, and went with the officials of Moab.
Then God became angry because he went. So while he was riding on his donkey accompanied by his two servants, the LORD's messenger stood in the road as his adversary.
References for Numbers 22:22
The donkey saw the LORD's messenger standing in the road with his sword drawn in his hand, so the donkey turned from the road and went into the field. Balaam struck the donkey in order to turn him back onto the road.
Then the LORD's messenger stood in the narrow path between vineyards with a stone wall on each side.
When the donkey saw the LORD's messenger, it leaned against the wall and squeezed Balaam's foot against the wall, so he continued to beat it.
The LORD's messenger persisted and crossed over and stood in a narrow place, where it wasn't possible to turn either right or left.
The donkey saw the LORD's messenger and lay down underneath Balaam. Balaam became angry and beat the donkey with the rod.
Then the LORD opened the donkey's mouth and it said to Balaam, "What have I done to you that you've beaten me these three times?"
Balaam said to the donkey, "Because you've tormented me. If I had a sword in my hand, I'd kill you now."
The donkey said to Balaam, "Am I not your donkey, on whom you've often ridden to this day? Have I been in the habit of doing this to you?" Balaam said, "No."
Then the LORD uncovered Balaam's eyes, and Balaam saw the LORD's messenger standing in the road with his sword drawn in his hand. Then he bowed low and worshipped.
The LORD's messenger said to him, "Why have you beaten your donkey these three times? I've come out here as an adversary, because you took the road recklessly in front of me.
The donkey saw me and turned away from me these three times. If it hadn't turned away from me, I would just now have killed you and let it live."
Balaam said to the LORD's messenger, "I've sinned, because I didn't know that you were standing against me in the road. Now, if you think it's wrong, I'll go back."
The LORD's messenger said to Balaam, "Go with the men. But don't say anything. Say only that which I tell you." So Balaam went with Balak's officials.
When Balak heard that Balaam was coming, he went out to meet him at Ir-moab, which is on the border of the Arnon at the farthest point of the border.
References for Numbers 22:36
Balak said to Balaam, "Didn't I send urgently and summon you? Why didn't you come to me? Am I really not able to honor you?"
Balaam said to Balak, "I've now come to you. But I'm only able to speak whatever word God gives me to say. That is what I will speak."
Then Balaam went with Balak and they came to Kiriath-huzoth.
References for Numbers 22:39
Balak sacrificed oxen and sheep and sent them to Balaam and the officials who were with him.
In the morning Balak took Balaam and brought him up to Bamoth-baal, where he could see part of the people.