Peter Pett's Commentary on the Bible
Joshua 24 - Introduction
Chapter 24 The Great Covenant Ceremony.
The book closes with an account of a great covenant ceremony at Shechem. The chapter begins with an account of the gathering of the tribes by Joshua. There Joshua again addresses the people, rehearses to them the many great and good things YHWH has done for them, from the time of their ancestor Abraham to that day, and then exhorts them to fear and serve YHWH, and reject idols. Then he lays before them the stark choice as to whether they will serve the true God, or the gods of the Canaanites. When they choose the former, he advises them to abide by their choice, and finalises a covenant with them to that purpose. Then he sends them away and the chapter concludes with an account of the death and burial of Joshua and Eleazar, and of the interment of the bones of Joseph.