Galatians 3:24-25

3:24 Thus the law had become our guardian until Christ, so that we could be declared righteous by faith. 3:25 But now that faith has come, we are no longer under a guardian.