Romans 4.

So here is the most amazing thing Paul says of God …

But to the one who does not work, but believes in the one who declares the ungodly righteous, his faith is credited as righteousness.

Acts 4:5

… He is the one who declares the ungodly, righteous.