Numbers 25:9 (KJV)

And those that died in the plague were twenty and four thousand.