After many days, when the Lord had given rest to Israel from their enemies all around, and Joshua was old and well advanced in years,