Numbers 25:7-17

7 When Pinechas, the son of El`azar, the son of Aharon the Kohen, saw it, he rose up from the midst of the congregation, and took a spear in his hand;
8 and he went after the man of Yisra'el into the pavilion, and thrust both of them through, the man of Yisra'el, and the woman through her body. So the plague was stayed from the children of Yisra'el.
9 Those who died by the plague were twenty-four thousand.
10 The LORD spoke to Moshe, saying,
11 Pinechas, the son of El`azar, the son of Aharon the Kohen, has turned my wrath away from the children of Yisra'el, in that he was jealous with my jealousy among them, so that I didn't consume the children of Yisra'el in my jealousy.
12 Therefore say, Behold, I give to him my covenant of shalom:
13 and it shall be to him, and to his seed after him, the covenant of an everlasting priesthood; because he was jealous for his God, and made atonement for the children of Yisra'el.
14 Now the name of the man of Yisra'el that was slain, who was slain with the Midyanite woman, was Zimri, the son of Salu, a prince of a fathers' house among the Shim`oni.
15 The name of the Midyanite woman who was slain was Kozbi, the daughter of Tzur; he was head of the people of a fathers' house in Midyan.
16 The LORD spoke to Moshe, saying,
17 Vex the Midyanim, and strike them;
The Hebrew Names Version is in the public domain.