Exodus 23:2 "You shall not follow a crowd to do evil; neither shall you testify in court to side with a multitude to pervert justice; (See NIV)
Exodus 23:3 neither shall you favor a poor man in his cause. (See NIV)
Deuteronomy 17:8 If there arises a matter too hard for you in judgment, between blood and blood, between plea and plea, and between stroke and stroke, being matters of controversy within your gates; then you shall arise, and go up to the place which Yahweh your God shall choose; (See NAS NIV)
Lamentations 3:36 To subvert a man in his cause, the Lord doesn't approve. (See NAS)