Judge not, that ye be judged. For all the measures you use will be used on you. In your case, both you statements reek of (a) ignorance or (b) literacy-challenged..
"Judge not, that ye be judged" is one of the most misinterpreted scripture, by both Christians and non believers. Case in point, what did Jesus say after that? "First get the beam out of your own eye and then you will see clearly to help your brother with the speck in his eye. Therefore, make sure that you're living a right life before God, before making a judgment in regards to another believer. And regarding judgment, consider the following:
===============================================
"What business is it of mine to judge those outside the church?
Are you not to judge those inside?
"If any of you has a dispute with another, do you dare to take it before the ungodly for judgment instead of before the Lord’s people? Or do you not know that the Lord’s people will judge the world? And if you are to judge the world, are you not competent to judge trivial cases? Do you not know that we will judge angels? How much more the things of this life! Therefore, if you have disputes about such matters, do you ask for a ruling from those whose way of life is scorned in the church? I say this to shame you. Is it possible that there is nobody among you wise enough to judge a dispute between believers? "
==============================================
If we hear of or find out that a believer is living in sexual sin, say, do we not make a judgement based on the word of God, knowing that what that believer is going leads to dead. Or are we to say, "oh, I don't judge anyone?". Now, if we as a believer were also committing sexual immorality, then how can we make a judgment against a believer, when we are doing the same thing?
Another example would be John the Baptist, who told king Herod that it was unlawful for him to have his brother's wife, Herodias. Did John the Baptist sin because he made a judgement based on God's righteousness? Not at all! As believers, we are supposed to make right judgements.
The world uses the "Judge not, that ye be judged" as a way of silencing Christians who warn them about their sins. Same-sex is a good example of that. And believers who claim this, just haven't studied all of the scripture, claiming that we can't make any judgments, period.
Paul was a Christian and he made a judgment regarding a man who was sleeping with his stepmother. Regarding him, Paul said:
"As one who is present with you in this way,
I have already passed judgment in the name of our Lord Jesus on the one who has been doing this. So when you are assembled and I am with you in spirit, and the power of our Lord Jesus is present, and this man over to Satan for the destruction of the flesh, so that his spirit may be saved on the day of the Lord."
What? Paul passed judgment?
The type of judgment that we are never to perform, is condemning judgment, i.e. passing sentence upon a believer or an unbeliever.
I would respectfully advise for you to do a complete study on every scripture regarding judgment. I'm sure that you will come out with a different view.
In Nehemiah's case, he made a judgment based on false teachings, which is a right judgment.