No one is saved by the law. Salvation is by faith through Grace. But the Grace of God is not a license to sin (Galatians 5:13; Romans 6:1-3), but rather an opportunity to please God through faith, (Hebrews 11:6). Righteousness is obtained without the law, (Romans 3:21-22).
Now, there is righteousness by the law and righteousness by faith. We are encouraged to seek the righteousness which is by faith, because as James said, if you obey the whole law and yet offend in one, you’re guilty of all, which means you’re no longer righteous, (James 2:10). So Paul in writing to the Galatians said, “I do not frustrate the grace of God: for if righteousness [come] by the law, then Christ is dead in vain“, (Galatians 2:21). How clearer do people want the Scriptures to be?
The Spirit of God is the One who empowers us to do the will of God. This is the whole duty of man; to do the will of God. So in another letter, we are told that, “For it is God which worketh in you both to will and to do of [his] good pleasure“, (Philippians 2:13). And this is why Jesus said, “Without Me you can do nothing“, (John 15:5). Paul echoing this message said, “I can do all things through Christ who strengtheneth me“, (Philippians 4:13).
Now, Paul who was led by the Holy Spirit and knowing that in latter times some shall bring damnable theories and bring their own doctrines said, ” But though we, or an angel from heaven, preach any other gospel unto you than that which we have preached unto you, let him be accursed.“, (Galatians 1:8). Even if Arch Angel Michael comes to me today and say righteousness is by the law and not faith, I will tell him, “be cursed!”. Now a word to the wise is enough! Be blessed.