Galatians 3:23-25

23 But before faith came, we were kept in custody under the law, 1being shut up to the faith which was later to be revealed.
24 Therefore the Law has become our 2tutor to lead us to Christ, so that 3we may be justified by faith.
25 But now that faith has come, we are no longer under a 4tutor.