Romans 4:5

NIV
New International Version

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