So this is what has happened: The people of Israel wanted God’s blessing, but they did not all get it. The people he chose did get his blessing, but the others became hard and refused to listen to him.
But you must use lots to decide which tribe gets which part of the land. Each tribe will get its share of the land, and that land will be given the name of that tribe.
They also counted the tribe of Levi. These are the family groups from the tribe of Levi: Gershon—the Gershonite family group; Kohath—the Kohathite family group; Merari—the Merarite family group.
You will divide it as a property for yourselves and for the foreigners who live among you and who have had children among you. These foreigners will be residents—they will be like natural born Israelites. You will divide some land for them among the tribes of Israel.