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.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (Revised Standard Version - Holy Bible)