Galatians 3:24

NIV
New International Version

24So the law was our guardian until Christ came that we might be justified by faith.