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

Galatians 3:22

But the Scripture imprisoned all things under sin, that the promise by faith in Jesus Christ might be given to those who believe.

Read in other translations