Romans 4:2-5 KJV
For if Abraham were justified by works, he hath whereof to glory; but not before God.
For what saith the scripture? Abraham believed God, and it was counted unto him for righteousness.
Now to him that worketh is the reward not reckoned of grace, but of debt.
But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness.