Matthew 7:1-5 talks about judgment which warns that before you take the speck out of somebody's eye, take out the log out of your eye first. It also means before correcting others, you must correct yourself and that the very first person you must judge first is yourself. Making judgment is not wrong at all if one first judges himself before others or to make a careful analysis before throwing one's judgment. A proper court of law does not just sentence anyone without a proper procedure. If judging was wrong, God would be wrong to appoint judges to rule over Israel in the Book of Judges.
I am really annoyed by those who claim to be liberals and say that they are so tolerant, they never judge anyone but they are in fact judging Christians. When Christians tell homosexuals out of love that they are in the wrong and they need repentance, they start throwing out judgments which they call Christians as "racists" and "homophobes" without knowing the real situation. Roman Catholics tell me I am being judgmental towards them whenever I tell them that they are in the wrong. If they say it is wrong to judge, why are they judging Christians to be wrong? It is a very contradictory statement.