So Moses gave this command to the Israelites: “This is the land you will receive. Throw lots to divide it among the nine and one-half tribes, because the Lord commanded that it should be theirs.
Joshua took control of all the land of Israel as the Lord had told Moses to do long ago. He gave the land to Israel, because he had promised it to them. Then Joshua divided the land among the tribes of Israel, and there was peace in the land.
The Lord had commanded Moses long ago how he wanted the people to choose their land. The people of the nine-and-a-half tribes threw lots to decide which land they would receive.