7 The people served Yahweh all the days of Joshua, and all the days of the elders who outlived Joshua, who had seen all the great work of Yahweh that he had worked for Israel.
*Minor differences ignored. Grouped by changes, with first version listed as example.
If Joshua was about 80 at the entrance into Canaan, 30 years would bring us to the close of his life. The "elders" would be all that were old enough to take part in the wars of Canaan Judges 3:1-2; and therefore, reckoning from the age of 20 to 70, a period of about 50 years may be assigned from the entrance into Canaan to the death of the elders, or 20 years after the death of Joshua.
The great works of the Lord - The overthrow of the Canaanite nations.
And the people served the LORD all the days of Joshua, and all the days of the elders that outlived Joshua, who had seen all the great (c) works of the LORD, that he did for Israel.
(c) Meaning, the wonders and miracles.
And the people served the Lord all the days of Joshua, and all the days of the elders that outlived Joshua, who had seen all the great works of the Lord that he did for Israel. In Egypt, at the Red sea, in the wilderness, at the river Jordan, and in the land of Canaan; See Gill on Joshua 24:31. The Jews (a) say, the elders died on the fifth of Shebet, which answers to part of January and part of February, on which account a fast was kept on that day.
(a) Schulchan Aruch, par. 1. c. 580. sect. 2.
*More commentary available at chapter level.