19But Joshua said to the people, “You cannot serve Yahweh, for he is a holy God; he is a jealous God; he will not forgive your transgressions and sins.
20If you forsake Yahweh and worship foreign gods, then he will turn and do you harm. He will consume you, after he has done good to you.”
21But the people said to Joshua, “No, we will worship Yahweh.”
22Then Joshua said to the people, “You are witnesses against yourselves that you have chosen for yourselves Yahweh, to worship him.” They said, “We are witnesses.”
23“Now put away the foreign gods that are with you, and turn your heart to Yahweh, the God of Israel.”
24The people said to Joshua, “We will worship Yahweh our God. We will listen to his voice.”
25Joshua made a covenant with the people that day. He put in place decrees and laws at Shechem.
26Joshua wrote these words in the book of the law of God. He took a large stone and set it up there beneath the oak tree that was beside Yahweh's sanctuary.
27Joshua said to all the people, “Look, this stone will be a testimony against us. It has heard all the words Yahweh said to us. So it will be a witness against you, should you ever deny your God.”
28So Joshua sent the people away, each to his own inheritance.
29After these things Joshua son of Nun, the servant of Yahweh, died, being 110 years old.
30They buried him within the border of his own inheritance, at Timnath Serah, which is in the hill country of Ephraim, north of Mount Gaash.
31Israel worshiped Yahweh all of Joshua's days, and all the days of the elders who outlived Joshua, those who had experienced everything that Yahweh had done for Israel.
32The bones of Joseph, which the people of Israel brought up out of Egypt—they buried them at Shechem, in the piece of land that Jacob had bought from the sons of Hamor, the father of Shechem. He bought it for one hundred pieces of silver, and it became an inheritance for the descendants of Joseph.
33Eleazar son of Aaron also died. They buried him at Gibeah, the city of Phinehas his son, which had been given to him. It was in the hill country of Ephraim.