After all the land was divided among the tribes, the Israelites gave a special piece of land to Joshua as his inheritance.
For the LORD had said he could have any town he wanted. He chose Timnath-serah in the hill country of Ephraim. He rebuilt the town and lived there.
These are the territories that Eleazar the priest, Joshua son of Nun, and the tribal leaders gave as an inheritance to the tribes of Israel by casting sacred lots in the presence of the LORD at the entrance of the Tabernacle at Shiloh. So the division of the land was completed.
References for Joshua 19:51