After the plague had ended, the Lord said to Moses and to Eleazar son of Aaron the priest,
just as the Lord had commanded Moses. So Moses recorded their names in the wilderness of Sinai.
because they assaulted you with deceit and tricked you into worshiping Baal of Peor, and because of Cozbi, the daughter of a Midianite leader, who was killed at the time of the plague because of what happened at Peor.”
but not before 24,000 people had died.