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

Leviticus 24:22

Ye shall have one manner of law, as well for the stranger, as for one of your own country: for I am the Lord your God.

Read in other translations