23Then, he said, put away the strange gods among you, turning your hearts to the Lord, the God of Israel.
24And the people said to Joshua, We will be the servants of the Lord our God, and we will give ear to his voice.
25So Joshua made an agreement with the people that day, and gave them a rule and a law in Shechem.
26And Joshua put these words on record, writing them in the book of the law of God; and he took a great stone, and put it up there under the oak-tree which was in the holy place of the Lord.
27And Joshua said to all the people, See now, this stone is to be a witness against us; for all the words of the Lord have been said to us in its hearing: so it will be a witness against you if you are false to the Lord your God.
28Then Joshua let the people go away, every man to his heritage.
29Now after these things, the death of Joshua, the son of Nun, the servant of the Lord, took place, he being then a hundred and ten years old.