22 And Joshua said to the people, “You are witnesses against yourselves that you have chosen for yourselves to serve Yahweh.” And they said, “We are witnesses.”
23 He said, “Remove the foreign gods that are in your midst, and incline your hearts to Yahweh the God of Israel.”
24 And the people said to Joshua, “We will serve Yahweh our God, and we will listen to his voice.”
25 So Joshua made a covenant with the people on that day, and he established for them a statute and a judgment at Shechem.
26 Then Joshua wrote these words in a scroll of the law of God, and he took a large stone and set it up there under a large tree, which is at the shrine of Yahweh.
27 And Joshua said to all the people, “Look, this stone will be a witness against us, for it has heard all the words of Yahweh that he spoke with us. It will be as a witness against you, so that you do not deny your God.”
28 Then Joshua sent the people away to their inheritance.