Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Numbers 25:9

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

Read in other translations