In certain passages one might be mislead to think that certain persons like Noah (Genesis 7:1), Job (Job 1:1), Zacharias and Elizabeth (Luke 1:5-6) were able to keep God's commandments.
Genesis 7:1
And the Lord said unto Noah, Come thou and all thy house into the ark; for thee have I seen righteous before me in this generation.
Job 1:1
There was a man in the land of Uz, whose name was Job; and that man was perfect and upright, and one that feared God, and eschewed evil.
Luke 1:5-6
There was in the days of Herod, the king of Judaea, a certain priest named Zacharias, of the course of Abia: and his wife was of the daughters of Aaron, and her name was Elisabeth.
And they were both righteous before God, walking in all the commandments and ordinances of the Lord blameless.
How would you address their descriptions in the verses mentioned in light of passages like Romans 3:10 (where Paul is quoting Psalms 14:3)?
Romans 3:10
As it is written, There is none righteous, no, not one:
Psalms 14:3
They are all gone aside, they are all together become filthy: there is none that doeth good, no, not one.