Romans 4:3, 23-24
"What does the Scripture say? "Abraham believed God, and it was credited to him as righteousness." ... 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."
2 Corinthians 5:21
"God made him who had no sin to be sin for us, so that in him we might become the righteousness of God."