A long time after the LORD had given Israel rest from all the enemies around them, Joshua was old, advanced in age.