#What did God do to stop them from sleeping with the Moabite women and worshiping Baal of Peor, and how many died ?
God sent a plague so that those who died were 24,000 in number. [25:8-9]