Numbers 25:9

NASB
Those who died by the plague were 24,000.