Let's view that in context
4 What then shall we say was gained by Abraham,
tour forefather according to the flesh? 2 For if Abraham was justified by works, he has something to boast about, but not before God.
3 For what does the Scripture say? “Abraham believed God, and it was counted to him as righteousness.” 4 Now to the one who works, his wages are not counted as a gift but as his due. 5 And to the one who does not work but believes in him who justifies the ungodly, his faith is counted as righteousness, 6 just as David also speaks of the blessing of the one to whom God counts righteousness apart from works:
7 “Blessed are those whose lawless deeds are forgiven,
and whose sins are covered;
8 blessed is the man against whom the Lord will not count his sin.”
Abraham believed God and was therefore counted righteous. V.2 actually states he was NOT justified or rewarded for any works
V 4, which for some reason you have posted several times now, actually is stating that if you receive wages, that is your due because you worked for it BUT we see plainly here, when keeping v. 4 in context, that you cannot work for righteousness....only FAITH in Christ and belief in Him is counted as righteousness.
Anyway, if you sit under false doctrine, as it seems you are doing, you will never understand scripture. The entire book will be distorted. You are free to believe whatever you want but what gets me ticked off are people posting a false salvation by works or any other way save through faith/belief in Christ and His finished work. That is the only reason I responded and really, you should check out scripture yourself and pray for understanding