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

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