So the Bible is clear about just and righteous people: there have been plenty of them.

But then there's this strange statement:

For there is not a just man upon earth, that doeth good, and sinneth not. Ecclesiastes 7:20

And these verses, saying that no one is clean or righteous. We are all just a bunch of unclean, unrighteous, filthy rags.

What is man, that he should be clean? and he which is born of a woman, that he should be righteous? Job 15:14

We are all as an unclean thing, and all our righteousnesses are as filthy rags. Isaiah 64:6

Who hath declared from the beginning, that we may know? and beforetime, that we may say, He is righteous? yea, there is none that sheweth, yea, there is none that declareth, yea, there is none that heareth your words. Isaiah 41:26