Galatians 3:23 in the World English Bible
But before faith came, we were kept in custody under the law, confined for the faith which should afterwards be revealed.
Context
22 But the scripture hath concluded all under sin, that the promise by faith of Jesus Christ might be given to them that believe.
23 But before faith came, we were kept under the law, shut up unto the faith which should afterwards be revealed.
24 Wherefore the law was our schoolmaster to bring us unto Christ, that we might be justified by faith.