When Balak for the second time saw that Balaam, instead of cursing, blessed Israel, he brought him to the top of Peor, thinking that peradventure it would please God to have him curse them from thence. For by his sorcery Balak had discovered that a great disaster was to fall upon Israel on the top of Peor, and thought that this disaster might be their curse from Balaam. He was, however, mistaken in this supposition, for the disaster in that spot was none other than Israel's sin with the daughters of Moab, and God's punishment for this.
Balak Drags Balaam to Mount Peor for a Third Try
Legends of the Jews 6:49