Numbers 25:7 - 25:15
7 And Phinehas the son of Eleazar, the son of Aaron the priest, saw it, so he arose from the midst of the congregation and took a spear in his hand, 8 and he went after the man of Israel into the tent and pierced both of them through, the man of Israel and the woman, through the body. Then the plague on the sons of Israel was checked. 9 So those who died by the plague were 24,000.
The Jealousy of Phinehas10 Then Yahweh spoke to Moses, saying, 11 “Phinehas the son of Eleazar, the son of Aaron the priest, has turned away My wrath from the sons of Israel in that he was jealous with My jealousy among them, so that I did not consume the sons of Israel in My jealousy. 12 Therefore say, ‘Behold, I give him My covenant of peace; 13 and it shall be for him and his seed after him, a covenant of a perpetual priesthood, because he was jealous for his God and made atonement for the sons of Israel.’” 14 Now the name of the slain man of Israel who was slain with the Midianite woman, was Zimri the son of Salu, a leader of a father’s household among the Simeonites. 15 And the name of the Midianite woman, who was struck down, was Cozbi the daughter of Zur, who was head of the people of a father’s household in Midian.