Then Moses told the people, “You will receive the land inside these borders. It will be yours, but the LORD has commanded you to divide it among the nine and a half tribes.
That's how Joshua captured the land, just as the LORD had commanded Moses, and Joshua divided it up among the tribes. Finally, there was peace in the land.