Joshua 24:16-33
Then the people answered, "Far be it from us that we should forsake the LORD, to serve other gods; for it is the LORD our God who brought us and our fathers up from the land of Egypt, out of the house of bondage, and who did those great signs in our sight, and preserved us in all the way that we went, and among all the peoples through whom we passed; and the LORD drove out before us all the peoples, the Amorites who lived in the land; therefore we also will serve the LORD, for he is our God."
But Joshua said to the people, "You cannot 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, "Nay; 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 which 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 made statutes and ordinances for them at Shechem. And Joshua wrote these words in the book of the law of God; and he took a great stone, and set it up there under the oak in 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 which 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 a hundred and ten years old. And they buried him in his own inheritance at Tim'nath-se'rah, which is in the hill country of E'phraim, north of the mountain of Ga'ash. And 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 which the LORD did for Israel.
The bones of Joseph which the people of Israel brought up from Egypt were buried at Shechem, in the portion of ground which 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 Elea'zar the son of Aaron died; and they buried him at Gib'e-ah, the town of Phin'ehas his son, which had been given him in the hill country of E'phraim.