13I gave you land on which you had not worked and cities that you had not built, and now you live in them. You eat the fruit of vineyards and olive orchards that you did not plant.'
14Now fear Yahweh and worship him with all integrity and faithfulness; get rid of the gods that your ancestors worshiped beyond the Euphrates and in Egypt, and worship Yahweh.
15If it seems wrong in your eyes for you to worship Yahweh, choose for yourselves this day whom you will serve, whether the gods your ancestors worshiped beyond the Euphrates, or the gods of the Amorites, in whose land you live. But as for me and my house, we will worship Yahweh.”
16The people answered and said, “We would never forsake Yahweh to serve other gods,
17for it is Yahweh our God who brought us and our ancestors up from the land of Egypt, out of the house of slavery, and who did those great signs in our sight, and who preserved us in all the way that we went, and among all the nations through whom we passed.
18Then Yahweh drove out before us all the peoples, including the Amorites who lived in the land. So we too will worship Yahweh, for he is our God.”
19But Joshua said to the people, “You cannot serve Yahweh, for he is a holy God; he is a jealous God; he will not forgive your transgressions and sins.
20If you forsake Yahweh and worship foreign gods, then he will turn and do you harm. He will consume you, after he has done good to you.”
21But the people said to Joshua, “No, we will worship Yahweh.”
22Then Joshua said to the people, “You are witnesses against yourselves that you have chosen for yourselves Yahweh, to worship him.” They said, “We are witnesses.”
23“Now put away the foreign gods that are with you, and turn your heart to Yahweh, the God of Israel.”
24The people said to Joshua, “We will worship Yahweh our God. We will listen to his voice.”
25Joshua made a covenant with the people that day. He put in place decrees and laws at Shechem.
26Joshua wrote these words in the book of the law of God. He took a large stone and set it up there beneath the oak tree that was beside Yahweh's sanctuary.
27Joshua said to all the people, “Look, this stone will be a testimony against us. It has heard all the words Yahweh said to us. So it will be a witness against you, should you ever deny your God.”