Balak takes Balaam to yet another place. For a third time, they build altars and bring offerings, and for a third time, only blessings issue from Balaam's mouth: "How goodly are your tents, O Jacob, your dwelling places, O Israel! ... G‑d, who has brought them out of Egypt with the strength of His loftiness He shall consume the nations which are his adversaries..." Balak despairs of accomplishing his goal, and sends Balaam on his way. Before leaving, Balaam prophesies about the end of days: the Messianic Redemption as well as the eventual destruction of Esau, Amalek, and Assyria. Following Balaam's unsuccessful attempt to curse the Jewish nation, Moabite and Midianite women seduce many Jewish men. In the course of their seduction, they also entice the Jewish man to worship the Baal Peor deity. G‑d commands Moses to execute the guilty people, and simultaneously a lethal plague erupts among the Jews. A Jewish leader, Zimri, publicly displays the Midianite princess with whom he was consorting. Phinehas, Aaron's grandson, kills them both, and the plague is halted.