After a long time had passed and the Lord had given Israel rest from all their enemies around them, Joshua, by then a very old man,