1Cor 6:4-6 If then you have judgments concerning things pertaining to this life, do you appoint those who are least esteemed by the church to judge? I say this to shame you. Is it possible that there is nobody among you wise enough to judge a dispute between believers? But instead, one brother goes to law against another— and this in front of unbelievers!
There is a mistake in the NIV concerning verse 4. NIV reads, "Therefore, if you have disputes about such matters, appoint as judges even men of little account in the church!" That's the opposite of what Paul meant. First the verb is not in the imperative, but in the indicative. This is actually another rhetorical question as the NKJV and other translations read. Furthermore Paul continues, "Is it possible that there is nobody among you wise enough to judge a dispute between believers?" So you shouldn't seek the least esteemed, but rather the wise to judge. Paul's point is that you wouldn't appoint a fool inside the church as a judge (even though the NIV mistakenly commands it), so why go to the fools outside the church?
Pr 28:5 Evil men do not understand justice, but those who seek the LORD understand it fully.