Not to worry. No one has said that.
God calls lot of folks righteous even though they are not perfectly sinless.
exactly, righteous does not mean sinless. Paul said there is none righteous. Romans 3:10 KJV -
The Lord God counts and imputes faith, works, deeds and acts AS righteousness.