Galatians 3:10-14 NLT
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.
NLT: New Living Translation