All who rely on observing the law are under a curse, for it is written: "Cursed is everyone who does not continue to do everything written in the Book of the Law." Clearly no one is justified before God by the law, because, "The righteous will live by faith."
(Galatians 3:10-11, New International Version)
Thankfully, God provided us the Sacrifice that makes us righteous and pays for our sins, because none of us keeps God's Law perfectly. In his boundless grace, God sent Jesus to do what we cannot do; live a perfect life and offer himself as the perfect sacrifice for our sins. We don't have to live under law trying to earn our perfection and God's acceptance. Instead, we live "by faith," trusting that God will see us through Christ's perfection and not our imperfection, judge us based on Jesus' holiness and not our transgressions, and view us through the Son's righteousness and not our unrighteousness. In this way, we fulfill the righteous requirements of the Law, without having to be bound to the "curse of the law."