Deuteronomy 1:16tsavah
"Then I charged your judges at that time, saying, 'Hear {the cases} between your fellow countrymen, and judge righteously between a man and his fellow countryman, or the alien who is with him.
Moses instructs judges to judge righteously and fairly.