Joshua 20:9

9 These are the cities chosen as cities of refuge for all Israelites, including the foreigners living among them. Anyone who accidentally kills someone may escape to these cities. Then he will not be handed over to the relative who can avenge a death before he stands trial in front of the congregation.