31 Israel served the LORD throughout the lifetime of Joshua and of the elders who outlived him and who had experienced everything the LORD had done for Israel.

Read Joshua 24:31 Using Other Translations

And Israel served the LORD all the days of Joshua, and all the days of the elders that overlived Joshua, and which had known all the works of the LORD, that he had done for Israel.
Israel served the LORD all the days of Joshua, and all the days of the elders who outlived Joshua and had known all the work that the LORD did for Israel.
The people of Israel served the LORD throughout the lifetime of Joshua and of the elders who outlived him—those who had personally experienced all that the LORD had done for Israel.