WHAT DOES THE BIBLE TEACH US ABOUT JUDGING OTHERS?

Imperfect humans are inclined to compare themselves with others. Then, they tend to draw conclusions about the value or importance based on their value system. Imperfection makes us prone to compare ourselves with others and to draw conclusions about others that tend to be unfair and unjust. Are there times or circumstances when we are to judge others? Or, do we always avoid judging others?