Passage
And Joshua son of Nun, servant of Jehovah, dieth, a son of a hundred and ten years,
And Joshua son of Nun, servant of Jehovah, dieth, a son of a hundred and ten years,
Judges 2:6 And Joshua sendeth the people away, and the sons of Israel go, each to his inheritance, to possess the land;
Judges 2:7 and the people serve Jehovah all the days of Joshua, and all the days of the elders who prolonged days after Joshua, who saw all the great work of Jehovah which He did to Israel.
Judges 2:8 And Joshua son of Nun, servant of Jehovah, dieth, a son of a hundred and ten years,
Judges 2:9 and they bury him in the border of his inheritance, in Timnath-Heres, in the hill-country of Ephraim, on the north of mount Gaash;
Judges 2:10 and also all that generation have been gathered unto their fathers, and another generation riseth after them who have not known Jehovah, and even the work which He hath done to Israel.
The verse centers on "joshua", "servant", "jehovah", "dieth", "hundred", and "years". It is saying that the verse draws attention to "joshua" and "servant", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 7's "and the people serve Jehovah all the..." into verse 9's "and they bury him in the border...", so "joshua" and "servant" belong inside that flow. In Judges context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "joshua" and "servant" with trust shaped by these words, not by a vague optimism outside the passage.