Galatians 3:24
therefore the law was our schoolmaster unto Messiah, that we might be justified by faith.
ā The Restored Word Bible
Context
22 But the scripture has concluded all under sin, that the promise by faith of Yahusha Messiah might be given to them that believe.
23 But before faith came, we were kept under the law, shut up unto the faith which should afterwards be revealed.
24 therefore the law was our schoolmaster unto Messiah, that we might be justified by faith.
25 But after that faith is come, we are no longer under a schoolmaster.
26 For ye are all the children of Elohim by faith in Messiah Yahusha.