Joshua assembles the Israelites for a second covenant renewal ceremony at the end of his life. They assemble at Shechem, where Joshua recounts their history, from Abraham’s father Terah, through the time of the patriarchs, to the Exodus and the conquest of Canaan. He then tells them to serve the Lord, saying that, if they refuse, they should choose “this day” whom they will serve: the gods of Terah or of the Canaanites. In words familiar to many Christians, Joshua concludes, “But as for me and my household, we will serve the LORD.”
The Israelites choose to serve the Lord, and Joshua makes a covenant with them, writing in the book of the law and setting up a stone at Shechem to serve as a witness against Israel, should it break the covenant.
This passage highlights one of the central theological claims of the book of Joshua: the Lord is God and is the only deity worthy of worship. Neither the gods of the Canaanites nor the gods of Israel’s own pre-Abrahamic ancestors are to be worshiped. The Lord demands complete covenant loyalty from Israel and will bless such loyalty with divine favor.
(via Enter the Bible)