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

Leviticus 26:23

And if ye will not be reformed by me by these things, but will walk contrary unto me;

Read in other translations