Joshua 23:2

2 summoned all Israel—their elders, leaders, judges and officials—and said to them: “I am very old.

Read Joshua 23:2 Using Other Translations

And Joshua called for all Israel, and for their elders, and for their heads, and for their judges, and for their officers, and said unto them, I am old and stricken in age:
Joshua summoned all Israel, its elders and heads, its judges and officers, and said to them, "I am now old and well advanced in years.
called together all the elders, leaders, judges, and officers of Israel. He said to them, “I am now a very old man.

What does Joshua 23:2 mean?

John Gill's Exposition of the Bible
Joshua 23:2

And Joshua called for all Israel
Summoned them together, whether at Timnathserah, his own city, he being old and infirm, and not able to go elsewhere; or whether at Shechem, where it is plain they were afterwards convened, ( Joshua 24:1 ) , or whether rather at Shiloh, where the tabernacle was, is not certain; and by "all Israel" cannot be meant the whole body of the people, unless it can be thought to be at one of the feasts, when all the males in Israel appeared before the Lord; though this seems to be not a stated convocation, but occasionally made, and to be understood of the representatives of the people called together, as explained in the following clause:

[and] for their elders, and for their heads, and for their judges, and
for their officers;
the first and is supplied, and another word or words may be supplied, as "even", or "that is", or the like, and so explanative of all Israel, namely, "their elders", both in age and office, especially the latter, the seventy elders, or who composed what in later times was called the great sanhedrim; and the "heads" of their tribes, the chief princes of every tribe; and their "judges" in their several cities, who heard and tried causes, and administered justice and judgment to the people; and their "officers", who attended on them to execute the judgment they pronounced:

and said unto them, I am old [and] stricken in age;
which he observes as a reason of his calling them together to give them some advice and instructions before his death, and in order to command greater reverence of him, and respect to him, and to excite attention to what he had to say to them.

California - Do Not Sell My Personal Information  California - CCPA Notice