Numbers 25:9

NLT
New Living Translation

9but not before 24,000 people had died.