Great! I try not to be misunderstood but sometimes I don't succeed.
Let me also mention a couple of texts to emphasize things a bit more; Isaiah 64:6 and Luke 1:6.
1) Re: Isaiah 64:6: I think Calvin was just a bit off
with his comments on this passage. It is true that there is a contrast to be found between those who were blatantly evil, i.e., those who rejected God's precepts and commandments, both moral and ceremonial. But Isaiah's confession, when read as is, does include ALL of mankind, especially those who were Israelites. Isaiah's language does not exclude anyone, not even himself. The "righteous deeds" apply to everyone for they fall far short of that righteousness that God requires; perfection. If this were not true then those who some would like to exclude from this judgment would have had no need of the shadows and types of the ceremonial law, the priesthood, etc. That there were some who outwardly conformed to the requirements of the law and whose hearts truly desired to live a holy life is true. But again, the standard of perfect righteousness was never accomplished... "there is none righteous, no not one." (Rom 3:10)
2) Re: Luke 1:6: Zacharias and Elizabeth it is written were both "righteous" and "blameless". It is inconvertibly true that their good works; walking in all the commandments and ordinances of the Lord
did not justify them in the forensic sense, i.e., justification. These two words used here refer to Sanctification, i.e., those works done by those who have already been
justified. Further, their righteousness is one which is in the Old Testament sense, i.e., conforming to the commandments and precepts, both moral and ceremonial laws. But, again, this is comparative, i.e., in comparison to the Pharisees and Sadducees of their day. In short, their deeds were not perfectly holy, but acceptable to God and before the eyes of men. Yet... they fell short. They were not "righteous" in the ultimate sense of what God required; perfection. For they too looked forward to and needed the righteousness of a Savior. This again shows that although their good works were acceptable
they were not perfect, which was what God requires.
My point again is that "righteous(ness)", although used in ways to describe men's good works does not exclude the core meaning of "perfection". We need Christ's perfect righteousness (active obedience) imputed to us unto justification... AND... we need to do righteous acts from a new heart to be pleasing before God (Heb 12:14), even though they are not righteous (perfect)... aka: sanctification.
I hope this helps and doesn't make things more troublesome.