Galatians 3:11

11 Clearly no one who relies on the law is justified before God, because “the righteous will live by faith.”a

Read Galatians 3:11 Using Other Translations

But that no man is justified by the law in the sight of God, it is evident: for, The just shall live by faith.
Now it is evident that no one is justified before God by the law, for "The righteous shall live by faith."
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.”