Balaam said to Balak, “Build me seven altars here, and prepare seven bulls and seven rams for me.”
Because God helped the Levites who were carrying the Ark of the Covenant of Adonai, they sacrificed seven bulls and seven rams.
So Balak took Balaam to the top of Peor, overlooking the wasteland.
Balak did just as Balaam said, and offered a bull and a ram on each altar.