Romans 4:4-5

NIV
New International Version

4Now to the one who works, wages are not credited as a gift but as an obligation. 5However, to the one who does not work but trusts God who justifies the ungodly, their faith is credited as righteousness.