Romans 4:4-6

Romans 4:4-6 AMP

Now to a laborer, his wages are not credited as a favor or a gift, but as an obligation [something owed to him]. But to the one who does not work [that is, the one who does not try to earn his salvation by doing good], but believes and completely trusts in Him who justifies the ungodly, his faith is credited to him as righteousness (right standing with God). And in this same way David speaks of the blessing on the one to whom God credits righteousness apart from works

Read Romans 4