In the gospel of John, Jesus said that we should "judge righteous judgment."
Judge not according to the appearance, but judge righteous judgment.
And Paul said that spiritual people should judge "all things" in this life and will
judge angels in the next.
But he that is spiritual judgeth all things, yet he
himself is judged of no man. 1 Corinthians 2:15
For what have I to do to judge them also that are without? do
not ye judge them that are within? But them that are without God
judgeth. Therefore put away from among yourselves that wicked
person. 1 Corinthians 5:12-13
Do ye not know that the saints shall judge the world?
and if the world shall be judged by you, are ye unworthy to judge the
smallest matters? Know ye not that we shall judge angels? how
much more things that pertain to this life?. 1 Corinthians 6:2-3