it was imputed
Romans 4:3
For what saith the scripture? Abraham believed God, and it was counted unto him for righteousness.
Read Whole Chapter
Romans 4:6
Even as David also describeth the blessedness of the man, unto whom God imputeth righteousness without works,
Read Whole Chapter