If you forsake the LORD and serve foreign gods, he will turn and bring disaster on you and make an end of you, after he has been good to you.”
But the people said to Joshua, “No! We will serve the LORD.”
Then Joshua said, “You are witnesses against yourselves that you have chosen to serve the LORD.” “Yes, we are witnesses,” they replied.
“Now then,” said Joshua, “throw away the foreign gods that are among you and yield your hearts to the LORD, the God of Israel.”
And the people said to Joshua, “We will serve the LORD our God and obey him.”
On that day Joshua made a covenant for the people, and there at Shechem he reaffirmed for them decrees and laws.
And Joshua recorded these things in the Book of the Law of God. Then he took a large stone and set it up there under the oak near the holy place of the LORD.
“See!” he said to all the people. “This stone will be a witness against us. It has heard all the words the LORD has said to us. It will be a witness against you if you are untrue to your God.”
Then Joshua dismissed the people, each to their own inheritance.
After these things, Joshua son of Nun, the servant of the LORD, died at the age of a hundred and ten.
And they buried him in the land of his inheritance, at Timnath Serah in the hill country of Ephraim, north of Mount Gaash.