Numbers 31:16
Behold, these caused the children of Israel, through the counsel of Balaam, to commit trespass against the LORD in the matter of Peor, and there was a plague among the congregation of the LORD.
Behold, these caused the children of Israel, through the counsel of Balaam,.... Who advised the Midianites to send their women into the camp of Israel, and allure them to uncleanness, and so draw them into idolatry, which counsel they followed and it succeeded; for, by this means, they were brought
to commit trespass against the LORD in the matter of Peor; by worshipping Baalpeor, the god of the Moabites and Midianites; whereby they transgressed the commandment of God, which forbid them having and worshipping any other gods besides him, and is a sin highly offensive to him, being greatly derogatory to his honour and glory:
and there was a plague among the congregation of the LORD; for that sin; and in that plague died 24,000 persons, Numbers 25:9.