Romans 4:5

5 However, to the one who does not work but trusts God who justifies the ungodly, their faith is credited as righteousness.

Read Romans 4:5 Using Other Translations

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness.
And to the one who does not work but believes in him who justifies the ungodly, his faith is counted as righteousness,
But people are counted as righteous, not because of their work, but because of their faith in God who forgives sinners.