Balaam said to Balak, “Build me seven altars here, and prepare seven bulls and seven rams for me.”
And because God helped the Levites who were carrying the ark of the covenant of the Lord, they sacrificed seven bulls and seven rams.
So Balak took Balaam to the top of Peor, which overlooks the wasteland.
So Balak did as Balaam had said and offered a bull and a ram on each altar.