Numbers 25:4-9 - God's Punishment

4 Yahweh said to Moses, "Take all {the leaders} of the people and kill them before the sun, so the fierce anger of Yahweh will turn from Israel."

5 So Moses said to the judges of Israel, "Each [of you] kill his men who are joined together with Baal Peor."

6 And behold, a man from the {Israelites} came and brought to his brothers Midianite woman before the eyes of Moses and before the eyes of all of the community of the {Israelites}, and they [were] weeping [at] the doorway of the tent of assembly. 7 When Phinehas son of Eleazar son of Aaron the priest saw, he got up from the midst of the community and took a spear in his hand. 8 He went after the man of Israel into the woman's section of the tent, and he drove the two of them, the man of Israel and the woman, into her belly. And the plague among the {Israelites} stopped. 9 The ones who died in the plague were twenty-four thousand.