Sorry the righteous which is by faith does not mean you were sinlessWrong. Being righteous means being sinless. That means that if they had sinned, they had repented, and their sins had been wiped away. The Bible teaches that sinners who repent, their sins are wiped out, so that they become sinless, as if they had never committed any sins. To be righteous means to be sinless. You can't be righteous and sinful at the same time. That is a self-contradictory statement.
Rom. 4:6–9 —ESV
“just as David also speaks of the blessing of the one to whom God counts righteousness apart from works:
¶ “Blessed are those whose lawless deeds are forgiven, and whose sins are covered;
blessed is the man against whom the Lord will not count his sin.”
¶ Is this blessing then only for the circumcised, or also for the uncircumcised? For we say that faith was counted to Abraham as righteousness.”