Balaam told Balak to build seven altars so Balak did as Balaam said and offered a bull and a ram on each altar. [23:29-30]