Righteousness is right.
When we get focused on determining what is right and wrong in others we become judgmental, especially if while we are judging others righteousness we are convinced of our own.
Righteousness is an attribute of God. The Law was an attempt to reveal the righteousness of God, maybe “attempt” isn’t the right word, it did reveal the righteousness of God, but Christ did it better.
The Law codified righteousness, listed out what it was, so we would get an idea of God’s righteousness. Jesus, God in the flesh, lived the righteousness of God because He was God and thus righteous.
We know righteousness now through Christ who revealed the righteousness of God apart from the Law. He revealed it, not in the deadness of the letter, but through the spirit of the law. He picked corn and healed on the Sabbath, both of which violated Pharisaic notions of God’s righteousness, but these acts did not violate the spirit of the Law.
When we have the deadness of the Law written on stone tablets, we are able to judge, “Yup, they did it.” or “Nope, they missed it.”
But if the spirit of the Law is our guide, judging slips away because you don’t know the heart. Judging is ultimately Christ’s work and He will do it well, as He is God and knows righteousness. We are to remain silent in self-righteous judging until then.
Easier said than done.