After all the land was divided among the tribes, the Israelites gave a piece of land to Joshua as his allocation.