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

Galatians 3:22

But the scripture hath concluded all under sin, that the promise by faith of Jesus Christ might be given to them that believe.

Read in other translations