Joshua 24:19-33 ESV
But Joshua said to the people, “You are not able to serve the LORD, for he is a holy God. He is a jealous God; he will not forgive your transgressions or your sins. If you forsake the LORD and serve foreign gods, then he will turn and do you harm and consume you, after having done you good.” And the people said to Joshua, “No, but we will serve the LORD.” Then Joshua said to the people, “You are witnesses against yourselves that you have chosen the LORD, to serve him.” And they said, “We are witnesses.” He said, “Then put away the foreign gods that are among you, and incline your heart to the LORD, the God of Israel.” And the people said to Joshua, “The LORD our God we will serve, and his voice we will obey.” So Joshua made a covenant with the people that day, and put in place statutes and rules for them at Shechem. And Joshua wrote these words in the Book of the Law of God. And he took a large stone and set it up there under the terebinth that was by the sanctuary of the LORD. And Joshua said to all the people, “Behold, this stone shall be a witness against us, for it has heard all the words of the LORD that he spoke to us. Therefore it shall be a witness against you, lest you deal falsely with your God.” So Joshua sent the people away, every man to his inheritance.
After these things Joshua the son of Nun, the servant of the LORD, died, being 110 years old. And they buried him in his own inheritance at Timnath-serah, which is in the hill country of Ephraim, north of the mountain of Gaash.
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.
As for the bones of Joseph, which the people of Israel brought up from Egypt, they buried them at Shechem, in the piece of land that Jacob bought from the sons of Hamor the father of Shechem for a hundred pieces of money. It became an inheritance of the descendants of Joseph.
And Eleazar the son of Aaron died, and they buried him at Gibeah, the town of Phinehas his son, which had been given him in the hill country of Ephraim.
ESV: English Standard Version 2016