Deuteronomy 1:16

16 And I charged your judges at that time, “Hear the disputes between your people and judge fairly, whether the case is between two Israelites or between an Israelite and a foreigner residing among you.

Read Deuteronomy 1:16 Using Other Translations

And I charged your judges at that time, saying, Hear the causes between your brethren, and judge righteously between every man and his brother, and the stranger that is with him.
And I charged your judges at that time, 'Hear the cases between your brothers, and judge righteously between a man and his brother or the alien who is with him.
“At that time I instructed the judges, ‘You must hear the cases of your fellow Israelites and the foreigners living among you. Be perfectly fair in your decisions