Romans 4:20-22 AMP
20. But he did not doubt or waver in unbelief concerning the promise of God, but he grew strong and empowered by faith, giving glory to God,
21. being fully convinced that God had the power to do what He had promised.
22. Therefore his faith was credited to him as righteousness (right standing with God).