Numbers 25:8-12 New Living Translation (NLT)

8. and rushed after the man into his tent. Phinehas thrust the spear all the way through the man’s body and into the woman’s stomach. So the plague against the Israelites was stopped,

9. but not before 24,000 people had died.

10. Then the lord said to Moses,

11. “Phinehas son of Eleazar and grandson of Aaron the priest has turned my anger away from the Israelites by being as zealous among them as I was. So I stopped destroying all Israel as I had intended to do in my zealous anger.

12. Now tell him that I am making my special covenant of peace with him.

Numbers 25