Galatians 3:22-24

MSB(i) 22 But the Scripture pronounces all things confined by sin, so that by faith in Jesus Christ the promise might be given to those who believe. 23 Before this faith came, we were held in custody under the law, locked up until faith should be revealed. 24 So the law became our guardian to lead us to Christ, that we might be justified by faith.