25So Joshua made a covenant with the people that day, and set them a statute and an ordinance in Shechem. 26And Joshua wrote these words in the book of the law of God, and took a great stone, and set it up there under an oak, that was by the sanctuary of the LORD. 27And Joshua said unto all the people, Behold, this stone shall be a witness unto us; for it hath heard all the words of the LORD which he spake unto us: it shall be therefore a witness unto you, lest ye deny your God. 28So Joshua let the people depart, every man unto his inheritance.29And it came to pass after these things, that Joshua the son of Nun, the servant of the LORD, died, being an hundred and ten years old. 30And they buried him in the border of his inheritance in Timnathserah, which is in mount Ephraim, on the north side of the hill of Gaash. 31And Israel served the LORD all the days of Joshua, and all the days of the elders that overlived Joshua, and which had known all the works of the LORD, that he had done for Israel.