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

Leviticus 26:24

Then will I also walk contrary unto you, and will punish you yet seven times for your sins.

Read in other translations