3:19 Why then was the law given? It was added because of transgressions, until the arrival of the descendant to whom the promise had been made. It was administered through angels by an intermediary.
Galatians 3:24
3:24 Thus the law had become our guardian until Christ, so that we could be declared righteous by faith.