We were all sinners when we were born but when we turned from sin toward Jesus and asked Him to come in to our lives He gave us His righteousness.
For all have sinned, and come short of the glory of God
Romans 5:12Wherefore, as by one man sin entered into the world, and death by sin; and so death passed upon all men, for that all have sinned
Not by works of righteousness which we have done, but according to his mercy he saved us, by the washing of regeneration, and renewing of the Holy Ghost.
1 Corinthians 1:30
But of him are ye in Christ Jesus, who of God is made unto us wisdom, and righteousness, and sanctification, and redemption
2 Corinthians 5:21
For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him.