So Moses gave this command to the Israelites, “That is the land that you will get. You will throw lots to divide the land among the nine tribes and half the tribe of Manasseh, as the Lord commanded.
Joshua took control of the whole land of Israel as the Lord had told Moses long ago. The Lord gave that land to Israel as he promised. And Joshua divided the land among the tribes of Israel. Finally, the fighting ended 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 get.