Exodus 23:2-6

23:2 “You must not follow a crowd in doing evil things; in a lawsuit you must not offer testimony that agrees with a crowd so as to pervert justice, 23:3 and you must not show partiality to a poor man in his lawsuit.

23:4 “If you encounter your enemy’s ox or donkey wandering off, you must by all means return it to him. 23:5 If you see the donkey of someone who hates you fallen under its load, you must not ignore him, but be sure to help him with it.

23:6 “You must not turn away justice for your poor people in their lawsuits.