However, to the one who does not work but trusts God who justifies the ungodly, their faith is credited as righteousness.
References for Romans 4:5
David says the same thing when he speaks of the blessedness of the one to whom God credits righteousness apart from works:
“Blessed are those whose transgressions are forgiven, whose sins are covered.
Blessed is the one whose sin the Lord will never count against them.”
References for Romans 4:8