Why, then, was the law given? It was added for the sake of transgressions until the Seed to whom the promise was made would come. The law was put into effect through angels by means of a mediator.
Now a mediator is not just for one person alone, but God is one.
Is the law therefore contrary to God's promises? Absolutely not! For if the law had been granted with the ability to give life, then righteousness would certainly be on the basis of the law.
But the Scripture imprisoned everything under sin's power, so that the promise might be given on the basis of faith in Jesus Christ to those who believe.
Before this faith came, we were confined under the law, imprisoned until the coming faith was revealed.
The law, then, was our guardian until Christ, so that we could be justified by faith.
But since that faith has come, we are no longer under a guardian,