This is why “it was credited to him as righteousness.”
References for Romans 4:22
The words “it was credited to him” were written not for him alone,
but also for us, to whom God will credit righteousness—for us who believe in him who raised Jesus our Lord from the dead.
References for Romans 4:24
He was delivered over to death for our sins and was raised to life for our justification.
References for Romans 4:25