Romans 4:2-9

4:2 For if Abraham was declared righteous by the works of the law, he has something to boast about – but not before God. 4:3 For what does the scripture say? “Abraham believed God, and it was credited to him as righteousness.” 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.

4:6 So even David himself speaks regarding the blessedness of the man to whom God credits righteousness apart from works:

4:7Blessed are those whose lawless deeds are forgiven, and whose sins are covered;

4:8 blessed is the one against whom the Lord will never count sin.

4:9 Is this blessedness then for the circumcision or also for the uncircumcision? For we say, “faith was credited to Abraham as righteousness.”

Romans 4:22

4:22 So indeed it was credited to Abraham as righteousness.