Galatians 3
22 Ref But the Scriptures shut up all things under sin, that the promise by faith in Jesus Christ might be given to those who believe.
23 Ref But before faith came, we were kept in custody under the law, shut up to the faith which should afterwards be revealed.
24 Ref So that the law has become our tutor to bring us to Christ, that we might be justified by faith.