Numbers 25:7-12 AMPC
And when Phinehas son of Eleazar, the son of Aaron the priest, saw it, he rose up from the midst of the congregation and took a spear in his hand
And went after the man of Israel into the inner room and thrust both of them through, the man of Israel and the woman through her body. Then the [smiting] plague was stayed from the Israelites.
Nevertheless those who died in the [smiting] plague were 24,000.
And the Lord said to Moses,
Phinehas son of Eleazar, the son of Aaron the priest, has turned my wrath away from the Israelites, in that he was jealous with My jealousy among them, so that I did not consume the Israelites in My jealousy.
Therefore say, Behold, I give to Phinehas the priest My covenant of peace.
AMPC: Amplified Bible, Classic Edition