20 If you forsake Yahweh and serve foreign gods, he will turn and bring disaster to you; he will destroy you after he has done good to you.”
21 And the people said to Joshua, “No, we will serve Yahweh.”
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.