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

Exodus 20:6

And shewing mercy unto thousands of them that love me, and keep my commandments.

Read in other translations