Joshua 20:9

9 Any of the Israelites or any foreigner residing among them who killed someone accidentally could flee to these designated cities and not be killed by the avenger of blood prior to standing trial before the assembly.

Read Joshua 20:9 Using Other Translations

These were the cities appointed for all the children of Israel, and for the stranger that sojourneth among them, that whosoever killeth any person at unawares might flee thither, and not die by the hand of the avenger of blood, until he stood before the congregation.
These were the cities designated for all the people of Israel and for the stranger sojourning among them, that anyone who killed a person without intent could flee there, so that he might not die by the hand of the avenger of blood, till he stood before the congregation.
These cities were set apart for all the Israelites as well as the foreigners living among them. Anyone who accidentally killed another person could take refuge in one of these cities. In this way, they could escape being killed in revenge prior to standing trial before the local assembly.

What does Joshua 20:9 mean?

John Gill's Exposition of the Bible
Joshua 20:9

These were the cities appointed for all the children of
Israel
For the common use of them all, and not for that tribe only in which they stood:

and for the stranger that sojourneth among them;
not only for the proselytes of righteousness, but for the proselytes of the gate also, as well as for the natives of Israel; Christ is a refuge for Jews and Gentiles, for all sinners that flee to him:

that whosoever killeth any person unawares might flee thither;
and find shelter and safety:

and not die by the hand of the avenger of blood;
getting thither before he could overtake him:

until he stood before the congregation:
either before the congregation, the elders of the city, or court of judicature in the city of refuge, or before the court of his own city, from whence he fled, if summoned thither.

California - Do Not Sell My Personal Information  California - CCPA Notice