Romans 3:20

3:20 For no one is declared righteous before him by the works of the law, for through the law comes the knowledge of sin.

Romans 4:4-5

4:4 Now to the one who works, his pay is not credited due to grace but due to obligation. 4:5 But to the one who does not work, but believes in the one who declares the ungodly righteous, his faith is credited as righteousness.