Then the Lord said to Moses:
but the dead from the plague were twenty-four thousand.
Phinehas, son of Eleazar, son of Aaron the priest, has turned my anger from the Israelites by his being as jealous among them as I am; that is why I did not put an end to the Israelites in my jealousy.
This was counted for him as a righteous deed for all generations to come.