But those who depend on the law to make them right with God are under his curse, for the Scriptures say, “Cursed is everyone who does not observe and obey all the commands that are written in God’s Book of the Law.” So it is clear that no one can be made right with God by trying to keep the law. For the Scriptures say, “It is through faith that a righteous person has life.” This way of faith is very different from the way of law, which says, “It is through obeying the law that a person has life.”
But Christ has rescued us from the curse pronounced by the law. When he was hung on the cross, he took upon himself the curse for our wrongdoing. For it is written in the Scriptures, “Cursed is everyone who is hung on a tree.” Through Christ Jesus, God has blessed the Gentiles with the same blessing he promised to Abraham, so that we who are believers might receive the promised Holy Spirit through faith.
Dear brothers and sisters, here’s an example from everyday life. Just as no one can set aside or amend an irrevocable agreement, so it is in this case. God gave the promises to Abraham and his child. And notice that the Scripture doesn’t say “to his children,” as if it meant many descendants. Rather, it says “to his child”—and that, of course, means Christ. This is what I am trying to say: The agreement God made with Abraham could not be canceled 430 years later when God gave the law to Moses. God would be breaking his promise. For if the inheritance could be received by keeping the law, then it would not be the result of accepting God’s promise. But God graciously gave it to Abraham as a promise.
Why, then, was the law given? It was given alongside the promise to show people their sins. But the law was designed to last only until the coming of the child who was promised. God gave his law through angels to Moses, who was the mediator between God and the people. Now a mediator is helpful if more than one party must reach an agreement. But God, who is one, did not use a mediator when he gave his promise to Abraham.
Is there a conflict, then, between God’s law and God’s promises? Absolutely not! If the law could give us new life, we could be made right with God by obeying it. But the Scriptures declare that we are all prisoners of sin, so we receive God’s promise of freedom only by believing in Jesus Christ.
Before the way of faith in Christ was available to us, we were placed under guard by the law. We were kept in protective custody, so to speak, until the way of faith was revealed.
Let me put it another way. The law was our guardian until Christ came; it protected us until we could be made right with God through faith. And now that the way of faith has come, we no longer need the law as our guardian.
For you are all children of God through faith in Christ Jesus.