Romans 4:1-8 (NASB)
What then shall we say that Abraham, our forefather according to the flesh, has found? For if Abraham was justified by works, he has something to boast about, but not before God. For what does the Scripture say? “Abraham believed God, and it was credited to him as righteousness.” Now to the one who works, his wage is not credited as a favor, but as what is due. But to the one who does not work, but believes in Him who justifies the ungodly, his faith is credited as righteousness, just as David also speaks of the blessing on the man to whom God credits righteousness apart from works:
“Blessed are those whose lawless deeds have been forgiven,
And whose sins have been covered.
“Blessed is the man whose sin the Lord will not take into account.”