Galatians 3 ” 13 Christ redeemed us from the curse of the law by becoming a curse for us, for it is written: “Cursed is everyone who is hung on a pole.” 14 He redeemed us in order that the blessing given to Abraham might come to the Gentiles through Christ Jesus, so that by faith we might receive the promise of the Spirit.”
When Abraham was righteous by faith, there was no law.
The law was a temporary covenant between God and Israel, that included circumcision, 10 commandments, etc.
The law could not save anyone. The law showed them as sinners.
The Gentiles never had the law but were dead in sin outside the covenant of God.
The law said “cursed is anyone who breaks the commandments”.
Nobody was righteous by the law – not even one.
The law only showed everyone as sinners.
Israel was under the curse of the law, with no hope.
Gentiles were outside the law with no hope.
The law was a curse for the entire world because nobody could be saved in that covenant.
Jesus was born under the law to die on the cross, becoming a curse by His death on the cross.
The cross ended the law – because Jesus fulfilled it by His death that satisfied the requirement of the law.
Galatians 3 “24 So the law was our guardian until Christ came that we might be justified by faith. 25 Now that this faith has come, we are no longer under a guardian. 26 So in Christ Jesus you are all children of God through faith, 27 for all of you who were baptized into Christ have clothed yourselves with Christ. 28 There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus. 29 If you belong to Christ, then you are Abraham’s seed, and heirs according to the promise.”
Today there is no law.
Without the law, there is no more sin (Romans 4:15)
Jesus took away all sins by removing the law on the cross.
The ten commandments was a temporary covenant that ended on the cross and vanished when Jerusalem was destroyed in AD70.
We are righteous by faith in Jesus without doing any works.
We are sinless by the death of Jesus who rose again.
We receive it by grace through faith.