19Joshua said to the people, “You are not able to serve the Lord. He is a holy God; he is a jealous God. He will not forgive your rebellion and your sins. 20If 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.”
21But the people said to Joshua, “No! We will serve the Lord.”
22Then Joshua said, “You are witnesses against yourselves that you have chosen to serve the Lord.”
“Yes, we are witnesses,” they replied.
23“Now then,” said Joshua, “throw away the foreign gods that are among you and yield your hearts to the Lord, the God of Israel.”
24And the people said to Joshua, “We will serve the Lord our God and obey him.”
25On that day Joshua made a covenant for the people, and there at Shechem he drew up for them decrees and laws. 26And 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.
27“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.”
Buried in the Promised Land
28Then Joshua sent the people away, each to his own inheritance.
29After these things, Joshua son of Nun, the servant of the Lord, died at the age of a hundred and ten. 30And they buried him in the land of his inheritance, at Timnath Serah in the hill country of Ephraim, north of Mount Gaash.
31Israel served the Lord throughout the lifetime of Joshua and of the elders who outlived him and who had experienced everything the Lord had done for Israel.
32And Joseph’s bones, which the Israelites had brought up from Egypt, were buried at Shechem in the tract of land that Jacob bought for a hundred pieces of silver from the sons of Hamor, the father of Shechem. This became the inheritance of Joseph’s descendants.
33And Eleazar son of Aaron died and was buried at Gibeah, which had been allotted to his son Phinehas in the hill country of Ephraim.