Numbers 25:7-17

7 When Phinehas son of Eleazar, son of Aaron the priest, saw it, he got up and left the congregation. Taking a spear in his hand,
8 he went after the Israelite man into the tent, and pierced the two of them, the Israelite and the woman, through the belly. So the plague was stopped among the people of Israel.
9 Nevertheless those that died by the plague were twenty-four thousand.
10 The Lord spoke to Moses, saying:
11 "Phinehas son of Eleazar, son of Aaron the priest, has turned back my wrath from the Israelites by manifesting such zeal among them on my behalf that in my jealousy I did not consume the Israelites.
12 Therefore say, "I hereby grant him my covenant of peace.
13 It shall be for him and for his descendants after him a covenant of perpetual priesthood, because he was zealous for his God, and made atonement for the Israelites.' "
14 The name of the slain Israelite man, who was killed with the Midianite woman, was Zimri son of Salu, head of an ancestral house belonging to the Simeonites.
15 The name of the Midianite woman who was killed was Cozbi daughter of Zur, who was the head of a clan, an ancestral house in Midian.
16 The Lord said to Moses,
17 "Harass the Midianites, and defeat them;
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.