9 but not before 24,000 people had died.

Matthew Henry's Commentary on Numbers 25:9

Commentary on Numbers 25:6-15

(Read Numbers 25:6-15)

Phinehas, in the courage of zeal and faith, executed vengeance on Zimri and Cozbi. This act can never be an example for private revenge, or religious persecution, or for irregular public vengeance.