Romans 4:5; Romans 5:6

5 But to the one who does not work, but believes in Him who justifies the ungodly, his faith is credited as righteousness,
6 For while we were still helpless, at the right time Christ died for the ungodly.