Deuteronomy 1:16

1:16 I furthermore admonished your judges at that time that they should pay attention to issues among your fellow citizens and judge fairly, whether between one citizen and another or a citizen and a resident foreigner.

Deuteronomy 23:4

23:4 for they did not meet you with food and water on the way as you came from Egypt, and furthermore, they hired Balaam son of Beor of Pethor in Aram Naharaim to curse you.