Zechariah asked the angel, How can I be sure of this? I am an old man and my wife is well along in years. The angel said to him, I am Gabriel. I stand in the presence of God, and I have been sent to speak to you and to tell you this good news. And now you will be silent and not able to speak until the day this happens, because you did not believe my words, which will come true at their appointed time.
Zechariah was righteous, but he disbelieved God's promise, as communicated by Gabriel, so he was struck mute for a season, until John the Baptist was born. Do you know who else was 'righteous'? King David, a man after God's heart. You know, King David, the adulterer and murder. Job was also righteous, but he suffered more than I could likely take. He suffered because he was proud of his righteousness and adherence to God's laws.
ALL these folks were righteous, yet all sinned. As noted on another posting, Romans 3:23 says, "For all have sinned, and come short of the glory of God." Mary even confirmed her sinful nature when she said in Luke 1:47 "And my spirit has rejoiced in God my Savior." Again, IF she is sinless, why would she need a Saviour? If Jesus did not come to save us from the wages of our sins, what did He come to save us from?
So “all” may not mean the “all” you mean? Hmmmmm.....