Balaam said to King Balak, "Build me seven altars here, and prepare seven young bulls and seven rams for a sacrifice."
Balak followed his instructions, and the two of them sacrificed a young bull and a ram on each altar.
Then Balaam said to Balak, "Stand here by your burnt offerings, and I will go to see if the LORD will respond to me. Then I will tell you whatever he reveals to me." So Balaam went alone to the top of a hill,
and God met him there. Balaam said to him, "I have prepared seven altars and have sacrificed a young bull and a ram on each altar.
Then the LORD gave Balaam a message for King Balak and said, "Go back to Balak and tell him what I told you."
When Balaam returned, the king was standing beside his burnt offerings with all the officials of Moab.
This was the prophecy Balaam delivered: "Balak summoned me to come from Aram; the king of Moab brought me from the eastern hills. 'Come,' he said, 'curse Jacob for me! Come and announce Israel's doom.'
But how can I curse those whom God has not cursed? How can I condemn those whom the LORD has not condemned?
I see them from the cliff tops; I watch them from the hills. I see a people who live by themselves, set apart from other nations.
Who can count Jacob's descendants, as numerous as dust? Who can count even a fourth of Israel's people? Let me die like the righteous; let my life end like theirs."
Then King Balak demanded of Balaam, "What have you done to me? I brought you to curse my enemies. Instead, you have blessed them!"
But Balaam replied, "Can I say anything except what the LORD tells me?"
Then King Balak told him, "Come with me to another place. There you will see only a portion of the nation of Israel. Curse at least that many!"
So Balak took Balaam to the plateau of Zophim on Pisgah Peak. He built seven altars there and offered a young bull and a ram on each altar
Then Balaam said to the king, "Stand here by your burnt offering while I go to meet the LORD."
So the LORD met Balaam and gave him a message. Then he said, "Go back to Balak and give him this message."
So Balaam returned to the place where the king and the officials of Moab were standing beside Balak's burnt offerings. "What did the LORD say?" Balak asked eagerly.
This was the prophecy Balaam delivered: "Rise up, Balak, and listen! Hear me, son of Zippor.
God is not a man, that he should lie. He is not a human, that he should change his mind. Has he ever spoken and failed to act? Has he ever promised and not carried it through
I received a command to bless; he has blessed, and I cannot reverse it!
No misfortune is in sight for Jacob; no trouble is in store for Israel. For the LORD their God is with them; he has been proclaimed their king
God has brought them out of Egypt; he is like a strong ox for them.
No curse can touch Jacob; no sorcery has any power against Israel. For now it will be said of Jacob, 'What wonders God has done for Israel!'
These people rise up like a lioness; like a majestic lion they stand. They refuse to rest until they have feasted on prey, drinking the blood of the slaughtered!"
Then Balak said to Balaam, "If you aren't going to curse them, at least don't bless them!"
But Balaam replied, "Didn't I tell you that I must do whatever the LORD tells me?"
Then King Balak said to Balaam, "Come, I will take you to yet another place. Perhaps it will please God to let you curse them from there."
So Balak took Balaam to the top of Mount Peor, overlooking the wasteland.
References for Numbers 23:28
Balaam again told Balak, "Build me seven altars and prepare me seven young bulls and seven rams for a sacrifice."
So Balak did as Balaam ordered and offered a young bull and a ram on each altar.