Hinei, these caused the Bnei Yisroel, through the davar Balaam, to turn unfaithful against Hashem in the matter of Peor, and there was a magefah (plague) among the Adat Hashem.