On that day Joshua made a covenant for the people and established just rule for them at Shechem.
References for Joshua 24:25
Joshua wrote these words in God's Instruction scroll. Then he took a large stone and put it up there under the oak in the sanctuary of the LORD.
Joshua said to all the people, "This stone will serve here as a witness against us, because it has heard all the LORD's words that he spoke to us. It will serve as a witness against you in case you aren't true to your God."
Then Joshua sent the people away to each one's legacy.