Numbers 25:1–14 While Israel was living at Shittim, the people profaned themselves by prostituting themselves with the Moabite women. These then invited the people to the sacrifices of their god, and the people ate of the sacrifices and bowed down to their god. Israel thereby attached itself to the Baal of Peor, and the LORD's anger flared up against Israel. The LORD said to Moses: Gather all the leaders of the people, and publicly execute them before the LORD, that the blazing wrath of the LORD may turn away from Israel. So Moses told the Israelite judges, “Each of you kill those of his men who have attached themselves to the Baal of Peor.”
6 At this a certain Israelite came and brought in a Midianite woman to his kindred in the view of Moses and of the whole Israelite community, while they were weeping at the entrance of the tent of meeting. When Phinehas, son of Eleazar, son of Aaron the priest, saw this, he rose up from the assembly, and taking a spear in his hand, followed the Israelite into the tent where he pierced the two of them, the Israelite and the woman. Thus the plague upon the Israelites was checked; but the dead from the plague were twenty-four thousand.
10 Then the LORD said to Moses: Phinehas, son of Eleazar, son of Aaron the priest, has turned my anger from the Israelites by his being as jealous among them as I am; that is why I did not put an end to the Israelites in my jealousy. Announce, therefore, that I hereby give him my covenant of peace, which shall be for him and for his descendants after him the covenant of an everlasting priesthood, because he was jealous on behalf of his God and thus made expiation for the Israelites.
14The name of the slain Israelite, the one slain with the Midianite woman, was Zimri, son of Salu, prince of a Simeonite ancestral house.