Then Joshua gathered all the tribes of Israel to Shechem, and called for the elders of Israel and for their heads and for their judges and for their officers; they presented themselves before God. Joshua said to all the people, “This is what the LORD, the God of Israel, says, ‘Your fathers, including Terah, the father of Abraham and the father of Nahor, lived beyond the [Euphrates] River in ancient times; and they served other gods. Then I took your father Abraham from beyond the [Euphrates] River and led him through all the land of Canaan, and multiplied his descendants, and I gave him Isaac. To Isaac I gave Jacob and Esau, and to Esau I gave [the hill country of] Mount Seir to possess; but Jacob and his sons went down to Egypt. Then I sent Moses and Aaron, and I plagued Egypt by what I did in its midst; and afterward I brought you out. Then I brought your fathers out of Egypt, and you came to the sea; and the Egyptians pursued your fathers with chariots and horsemen to the Red Sea. When they cried out to the LORD [for help], He put darkness between you and the Egyptians, and brought the sea upon them and covered them; and your own eyes saw what I did in Egypt. And you lived in the wilderness a long time (forty years). [Josh 5:6] Then I brought you into the land of the Amorites who lived on the other side of the Jordan, and they fought with you; and I gave them into your hand, and you took possession of their land and I destroyed them before you. Then Balak the son of Zippor, king of Moab, arose and fought against Israel, and he sent and called Balaam the son of Beor to curse you. But I would not listen to Balaam. Therefore he had to bless you, so I saved you from Balak’s hand. [Deut 23:5] You crossed the Jordan and came to Jericho; and the citizens of Jericho fought against you, as did the Amorite and the Perizzite and the Canaanite and the Hittite and the Girgashite, the Hivite and the Jebusite; and so I gave them into your hand. I sent the hornet [that is, the terror of you] before you, which drove the two kings of the Amorites out before you; but it was not by your sword or by your bow. [Ex 23:27, 28; Deut 2:25; 7:20] I gave you a land for which you did not labor, and cities which you did not build, and you live in them; you eat from vineyards and olive groves which you did not plant.’
“Now, therefore, fear the LORD and serve Him in sincerity and in truth; remove the gods which your fathers served on the other side of the [Euphrates] River and in Egypt, and serve the LORD. If it is unacceptable in your sight to serve the LORD, choose for yourselves this day whom you will serve: whether the gods which your fathers served that were on the other side of the River, or the gods of the Amorites in whose land you live; but as for me and my house, we will serve the LORD.”
The people answered, “Far be it from us to abandon (reject) the LORD to serve other gods; for the LORD our God is He who brought us and our fathers up out of the land of Egypt, from the house of bondage, and who did these great signs (miracles) in our sight and kept us safe all along the way that we went and among all the peoples among whom we passed. The LORD drove all the peoples out from before us, even the Amorites who lived in the land. We also will serve the LORD, for He is our God.”
Then Joshua said to the people, “You will not be able to serve the LORD [if you serve any other gods], for He is a holy God; He is a jealous God [demanding what is rightfully and uniquely His]. He will not forgive your transgression [of His law] or your sins. If you do abandon (reject) the LORD and serve foreign gods, then He will turn and do you harm and consume and destroy you after He has done you good.” The people said to Joshua, “No, but we will serve [only] the LORD.” Joshua then said to the people, “You are witnesses against yourselves that you have chosen for yourselves the LORD, to serve Him.” And they said, “We are witnesses.” “Now then, remove the foreign gods which are among you, and incline your hearts toward the LORD, the God of Israel.” The people said to Joshua, “We will serve the LORD our God and we will listen to and obey His voice.” So Joshua made a covenant with the people that day, and made for them a statute and an ordinance at Shechem. And Joshua wrote these words in the Book of the Law of God. Then he took a large stone and set it up there under the oak that was in [the courtyard of] the sanctuary of the LORD. Joshua then said to all the people, “Look, this stone shall serve as a witness against us, for it has heard all the words of the LORD which He spoke to us; so it shall be a witness against you, so that [afterward] you do not deny your God.” Then Joshua sent the people away, each to [the territory of] his inheritance.