Galatians 3:22
22 But the Scripture has shut up everyone under sin, so that the promise by faith in Jesus Christ might be given to those who believe.
Galatians 3:24
24 Therefore the Law has become our tutor unto Christ, so that we may be justified by faith.