Oh! Ok then.
In all seriousness, at the risk of sounding like your Sunday School teacher…and I have been one many times…
We need to look at all of scripture to see what God wants. Looking at all the instruction on the subject you will discover we are to be neither potted plants smiling benignly while someone commits atrocities nor pharisees striding about condemning a short tithe.
“Judge not that ye be not judged” is the unbelievers’ favorite partial and truncated verse/teaching for a reason. They hate it when we are salt and light. They hate hearing evil called out. When we obey God and judge with righteous judgement and refuse to sin by omission by ignoring it all we are taken to task for judging and it’s absolute garbage. When the Nazis have Kristallnacht, judge. When your neighbor tortures a cat, judge. When you sit in a jury, judge. In a proper case if church discipline, judge. You see someone boosting a car, judge. Etc.