A good judge or a good referee needs to be entirely impartial.
It’s not easy.
We’re emotional creatures, and the judgements we make are often swayed by our biases and prejudices.
God insists that we must always be fair and impartial, and in the Bible He shows us how to do it.