Joshua 24:1-25

Joshua 24:1-2-25-26 The Message (MSG)

Joshua called together all the tribes of Israel at Shechem. He called in the elders, chiefs, judges, and officers. They presented themselves before God. Then Joshua addressed all the people: “This is what GOD, the God of Israel, says: A long time ago your ancestors, Terah and his sons Abraham and Nahor, lived to the east of the River Euphrates. They worshiped other gods. I took your ancestor Abraham from the far side of The River. I led him all over the land of Canaan and multiplied his descendants. I gave him Isaac. Then I gave Isaac Jacob and Esau. I let Esau have the mountains of Seir as home, but Jacob and his sons ended up in Egypt. I sent Moses and Aaron. I hit Egypt hard with plagues and then led you out of there. I brought your ancestors out of Egypt. You came to the sea, the Egyptians in hot pursuit with chariots and cavalry, to the very edge of the Red Sea! “Then they cried out for help to GOD. He put a cloud between you and the Egyptians and then let the sea loose on them. It drowned them. “You watched the whole thing with your own eyes, what I did to Egypt. And then you lived in the wilderness for a long time. I brought you to the country of the Amorites, who lived east of the Jordan, and they fought you. But I fought for you and you took their land. I destroyed them for you. Then Balak son of Zippor made his appearance. He was the king of Moab. He got ready to fight Israel by sending for Balaam son of Beor to come and curse you. But I wouldn’t listen to Balaam—he ended up blessing you over and over! I saved you from him. “You then crossed the Jordan and came to Jericho. The Jericho leaders ganged up on you as well as the Amorites, Perizzites, Canaanites, Hittites, Girgashites, Hivites, and Jebusites, but I turned them over to you. “I sent the Hornet ahead of you. It drove out the two Amorite kings—did your work for you. You didn’t have to do a thing, not so much as raise a finger. “I handed you a land for which you did not work, towns you did not build. And here you are now living in them and eating from vineyards and olive groves you did not plant. “So now: Fear GOD. Worship him in total commitment. Get rid of the gods your ancestors worshiped on the far side of The River (the Euphrates) and in Egypt. You, worship GOD. “If you decide that it’s a bad thing to worship GOD, then choose a god you’d rather serve—and do it today. Choose one of the gods your ancestors worshiped from the country beyond The River, or one of the gods of the Amorites, on whose land you’re now living. As for me and my family, we’ll worship GOD.” The people answered, “We’d never forsake GOD! Never! We’d never leave GOD to worship other gods. “GOD is our God! He brought up our ancestors from Egypt and from slave conditions. He did all those great signs while we watched. He has kept his eye on us all along the roads we’ve traveled and among the nations we’ve passed through. Just for us he drove out all the nations, Amorites and all, who lived in the land. “Count us in: We too are going to worship GOD. He’s our God.” Then Joshua told the people: “You can’t do it; you’re not able to worship GOD. He is a holy God. He is a jealous God. He won’t put up with your fooling around and sinning. When you leave GOD and take up the worship of foreign gods, he’ll turn right around and come down on you hard. He’ll put an end to you—and after all the good he has done for you!” But the people told Joshua: “No! No! We worship GOD!” And so Joshua addressed the people: “You are witnesses against yourselves that you have chosen GOD for yourselves—to worship him.” And they said, “We are witnesses.” Joshua said, “Now get rid of all the foreign gods you have with you. Say an unqualified Yes to GOD, the God of Israel.” The people answered Joshua, “We will worship GOD. What he says, we’ll do.” Joshua completed a Covenant for the people that day there at Shechem. He made it official, spelling it out in detail. Joshua wrote out all the directions and regulations into the Book of The Revelation of God. Then he took a large stone and set it up under the oak that was in the holy place of GOD.

Joshua 24:1-25 New American Standard Bible (NASB)

Then Joshua gathered all the tribes of Israel to Shechem, and called for the elders of Israel and for their heads and their judges and their officers; and they presented themselves before God. Joshua said to all the people, “Thus says the LORD, the God of Israel, ‘From ancient times your fathers lived beyond the River, namely, Terah, the father of Abraham and the father of Nahor, and they served other gods. Then I took your father Abraham from beyond the River, and led him through all the land of Canaan, and multiplied his descendants and gave him Isaac. To Isaac I gave Jacob and Esau, and to Esau I gave Mount Seir to possess it; 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. I brought your fathers out of Egypt, and you came to the sea; and Egypt pursued your fathers with chariots and horsemen to the Red Sea. But when they cried out to the LORD, 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 for a long time. Then I brought you into the land of the Amorites who lived beyond the Jordan, and they fought with you; and I gave them into your hand, and you took possession of their land when I destroyed them before you. Then Balak the son of Zippor, king of Moab, arose and fought against Israel, and he sent and summoned Balaam the son of Beor to curse you. But I was not willing to listen to Balaam. So he had to bless you, and I delivered you from his hand. You crossed the Jordan and came to Jericho; and the citizens of Jericho fought against you, and the Amorite and the Perizzite and the Canaanite and the Hittite and the Girgashite, the Hivite and the Jebusite. Thus I gave them into your hand. Then I sent the hornet before you and it drove out the two kings of the Amorites from before you, but not by your sword or your bow. I gave you a land on which you had not labored, and cities which you had not built, and you have lived in them; you are eating of vineyards and olive groves which you did not plant.’ ORD “Now, therefore, fear the LORD and serve Him in sincerity and truth; and put away the gods which your fathers served beyond the River and in Egypt, and serve the LORD. If it is disagreeable in your sight to serve the LORD, choose for yourselves today whom you will serve: whether the gods which your fathers served which were beyond the River, or the gods of the Amorites in whose land you are living; but as for me and my house, we will serve the LORD.” The people answered and said, “Far be it from us that we should forsake 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 in our sight and preserved us through all the way in which we went and among all the peoples through whose midst we passed. The LORD drove out from before us all the peoples, 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, for He is a holy God. He is a jealous God; He will not forgive your transgression or your sins. If you forsake the LORD and serve foreign gods, then He will turn and do you harm and consume you after He has done good to you.” The people said to Joshua, “No, but we will serve the LORD.” Joshua 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 therefore, put away the foreign gods which are in your midst, and incline your hearts to the LORD, the God of Israel.” The people said to Joshua, “We will serve the LORD our God and we will obey His voice.” So Joshua made a covenant with the people that day, and made for them a statute and an ordinance in Shechem.

Joshua 24:1-25 New Living Translation (NLT)

Then Joshua summoned all the tribes of Israel to Shechem, including their elders, leaders, judges, and officers. So they came and presented themselves to God. Joshua said to the people, “This is what the LORD, the God of Israel, says: Long ago your ancestors, including Terah, the father of Abraham and Nahor, lived beyond the Euphrates River, and they worshiped other gods. But I took your ancestor Abraham from the land beyond the Euphrates and led him into the land of Canaan. I gave him many descendants through his son Isaac. To Isaac I gave Jacob and Esau. To Esau I gave the mountains of Seir, while Jacob and his children went down into Egypt. “Then I sent Moses and Aaron, and I brought terrible plagues on Egypt; and afterward I brought you out as a free people. But when your ancestors arrived at the Red Sea, the Egyptians chased after you with chariots and charioteers. When your ancestors cried out to the LORD, I put darkness between you and the Egyptians. I brought the sea crashing down on the Egyptians, drowning them. With your very own eyes you saw what I did. Then you lived in the wilderness for many years. “Finally, I brought you into the land of the Amorites on the east side of the Jordan. They fought against you, but I destroyed them before you. I gave you victory over them, and you took possession of their land. Then Balak son of Zippor, king of Moab, started a war against Israel. He summoned Balaam son of Beor to curse you, but I would not listen to him. Instead, I made Balaam bless you, and so I rescued you from Balak. “When you crossed the Jordan River and came to Jericho, the men of Jericho fought against you, as did the Amorites, the Perizzites, the Canaanites, the Hittites, the Girgashites, the Hivites, and the Jebusites. But I gave you victory over them. And I sent terror ahead of you to drive out the two kings of the Amorites. It was not your swords or bows that brought you victory. I gave you land you had not worked on, and I gave you towns you did not build—the towns where you are now living. I gave you vineyards and olive groves for food, though you did not plant them. “So fear the LORD and serve him wholeheartedly. Put away forever the idols your ancestors worshiped when they lived beyond the Euphrates River and in Egypt. Serve the LORD alone. But if you refuse to serve the LORD, then choose today whom you will serve. Would you prefer the gods your ancestors served beyond the Euphrates? Or will it be the gods of the Amorites in whose land you now live? But as for me and my family, we will serve the LORD.” The people replied, “We would never abandon the LORD and serve other gods. For the LORD our God is the one who rescued us and our ancestors from slavery in the land of Egypt. He performed mighty miracles before our very eyes. As we traveled through the wilderness among our enemies, he preserved us. It was the LORD who drove out the Amorites and the other nations living here in the land. So we, too, will serve the LORD, for he alone is our God.” Then Joshua warned the people, “You are not able to serve the LORD, for he is a holy and jealous God. He will not forgive your rebellion and your sins. If you abandon the LORD and serve other gods, he will turn against you and destroy you, even though he has been so good to you.” But the people answered Joshua, “No, we will serve the LORD!” “You are a witness to your own decision,” Joshua said. “You have chosen to serve the LORD.” “Yes,” they replied, “we are witnesses to what we have said.” “All right then,” Joshua said, “destroy the idols among you, and turn your hearts to the LORD, the God of Israel.” The people said to Joshua, “We will serve the LORD our God. We will obey him alone.” So Joshua made a covenant with the people that day at Shechem, committing them to follow the decrees and regulations of the LORD.

Joshua 24:1-25 King James Version (KJV)

And 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; and they presented themselves before God. And Joshua said unto all the people, Thus saith the LORD God of Israel, Your fathers dwelt on the other side of the flood in old time, even Terah, the father of Abraham, and the father of Nahor: and they served other gods. And I took your father Abraham from the other side of the flood, and led him throughout all the land of Canaan, and multiplied his seed, and gave him Isaac. And I gave unto Isaac Jacob and Esau: and I gave unto Esau mount Seir, to possess it; but Jacob and his children went down into Egypt. I sent Moses also and Aaron, and I plagued Egypt, according to that which I did among them: and afterward I brought you out. And I brought your fathers out of Egypt: and ye came unto the sea; and the Egyptians pursued after your fathers with chariots and horsemen unto the Red sea. And when they cried unto the LORD, he put darkness between you and the Egyptians, and brought the sea upon them, and covered them; and your eyes have seen what I have done in Egypt: and ye dwelt in the wilderness a long season. And I brought you into the land of the Amorites, which dwelt on the other side Jordan; and they fought with you: and I gave them into your hand, that ye might possess their land; and I destroyed them from before you. Then Balak the son of Zippor, king of Moab, arose and warred against Israel, and sent and called Balaam the son of Beor to curse you: But I would not hearken unto Balaam; therefore he blessed you still: so I delivered you out of his hand. And ye went over Jordan, and came unto Jericho: and the men of Jericho fought against you, the Amorites, and the Perizzites, and the Canaanites, and the Hittites, and the Girgashites, the Hivites, and the Jebusites; and I delivered them into your hand. And I sent the hornet before you, which drave them out from before you, even the two kings of the Amorites; but not with thy sword, nor with thy bow. And I have given you a land for which ye did not labour, and cities which ye built not, and ye dwell in them; of the vineyards and oliveyards which ye planted not do ye eat. Now therefore fear the LORD, and serve him in sincerity and in truth: and put away the gods which your fathers served on the other side of the flood, and in Egypt; and serve ye the LORD. And if it seem evil unto you to serve the LORD, choose you this day whom ye will serve; whether the gods which your fathers served that were on the other side of the flood, or the gods of the Amorites, in whose land ye dwell: but as for me and my house, we will serve the LORD. And the people answered and said, God forbid that we should forsake the LORD, to serve other gods; For the LORD our God, he it is that brought us up and our fathers out of the land of Egypt, from the house of bondage, and which did those great signs in our sight, and preserved us in all the way wherein we went, and among all the people through whom we passed: And the LORD drave out from before us all the people, even the Amorites which dwelt in the land: therefore will we also serve the LORD; for he is our God. And Joshua said unto the people, Ye cannot serve the LORD: for he is an holy God; he is a jealous God; he will not forgive your transgressions nor your sins. If ye forsake the LORD, and serve strange gods, then he will turn and do you hurt, and consume you, after that he hath done you good. And the people said unto Joshua, Nay; but we will serve the LORD. And Joshua said unto the people, Ye are witnesses against yourselves that ye have chosen you the LORD, to serve him. And they said, We are witnesses. Now therefore put away, said he, the strange gods which are among you, and incline your heart unto the LORD God of Israel. And the people said unto Joshua, The LORD our God will we serve, and his voice will we obey. So Joshua made a covenant with the people that day, and set them a statute and an ordinance in Shechem.

Joshua 24:1-25 New Century Version (NCV)

Joshua gathered all the tribes of Israel together at Shechem. He called the elders, heads of families, judges, and officers of Israel to stand before God. Then Joshua said to all the people, “Here’s what the LORD, the God of Israel, says to you: ‘A long time ago your ancestors lived on the other side of the Euphrates River. Terah, the father of Abraham and Nahor, worshiped other gods. But I, the LORD, took your ancestor Abraham from the other side of the river and led him through the land of Canaan. And I gave him many children, including his son Isaac. I gave Isaac two sons named Jacob and Esau. I gave the land around the mountains of Edom to Esau, but Jacob and his sons went down to Egypt. Then I sent Moses and Aaron to Egypt, where I brought many disasters on the Egyptians. Afterwards I brought you out. When I brought your ancestors out of Egypt, they came to the Red Sea, and the Egyptians chased them with chariots and men on horses. So the people called out to the LORD. And I brought darkness between you and the Egyptians and made the sea to cover them. You yourselves saw what I did to the army of Egypt. After that, you lived in the desert for a long time. “ ‘Then I brought you to the land of the Amorites, east of the Jordan River. They fought against you, but I handed them over to you. I destroyed them before you, and you took control of that land. But the king of Moab, Balak son of Zippor, prepared to fight against the Israelites. The king sent for Balaam son of Beor to curse you, but I refused to listen to Balaam. So he asked for good things to happen to you! I saved you and brought you out of his power. “ ‘Then you crossed the Jordan River and came to Jericho, where the people of Jericho fought against you. Also, the Amorites, Perizzites, Canaanites, Hittites, Girgashites, Hivites, and Jebusites fought against you. But I handed them over to you. I sent terror ahead of you to force out two Amorite kings. You took the land without using swords and bows. I gave you that land where you did not have to work. I gave you cities that you did not have to build. And now you live in that land and in those cities, and you eat from vineyards and olive trees that you did not plant.’ ” Then Joshua said to the people, “Now respect the LORD and serve him fully and sincerely. Throw away the gods that your ancestors worshiped on the other side of the Euphrates River and in Egypt. Serve the LORD. But if you don’t want to serve the LORD, you must choose for yourselves today whom you will serve. You may serve the gods that your ancestors worshiped when they lived on the other side of the Euphrates River, or you may serve the gods of the Amorites who lived in this land. As for me and my family, we will serve the LORD.” Then the people answered, “We will never stop following the LORD to serve other gods! It was the LORD our God who brought our ancestors out of Egypt. We were slaves in that land, but the LORD did great things for us there. He brought us out and protected us while we traveled through other lands. Then he forced out all the people living in these lands, even the Amorites. So we will serve the LORD, because he is our God.” Then Joshua said, “You are not able to serve the LORD, because he is a holy God and a jealous God. If you turn against him and sin, he will not forgive you. If you leave the LORD and serve other gods, he will send you great trouble. The LORD may have been good to you, but if you turn against him, he will destroy you.” But the people said to Joshua, “No! We will serve the LORD.” Then Joshua said, “You are your own witnesses that you have chosen to serve the LORD.” The people said, “Yes, we are.” Then Joshua said, “Now throw away the gods that you have. Love the LORD, the God of Israel, with all your heart.” Then the people said to Joshua, “We will serve the LORD our God, and we will obey him.” On that day at Shechem Joshua made an agreement for the people. He made rules and laws for them to follow.

Joshua 24:1-25 American Standard Version (ASV)

And 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; and they presented themselves before God. And Joshua said unto all the people, Thus saith Jehovah, the God of Israel, Your fathers dwelt of old time beyond the River, even Terah, the father of Abraham, and the father of Nahor: and they served other gods. And I took your father Abraham from beyond the River, and led him throughout all the land of Canaan, and multiplied his seed, and gave him Isaac. And I gave unto Isaac Jacob and Esau: and I gave unto Esau mount Seir, to possess it; and Jacob and his children went down into Egypt. And I sent Moses and Aaron, and I plagued Egypt, according to that which I did in the midst thereof: and afterward I brought you out. And I brought your fathers out of Egypt: and ye came unto the sea; and the Egyptians pursued after your fathers with chariots and with horsemen unto the Red Sea. And when they cried out unto Jehovah, he put darkness between you and the Egyptians, and brought the sea upon them, and covered them; and your eyes saw what I did in Egypt: and ye dwelt in the wilderness many days. And I brought you into the land of the Amorites, that dwelt beyond the Jordan: and they fought with you; and I gave them into your hand, and ye possessed their land; and I destroyed them from 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 hearken unto Balaam; therefore he blessed you still: so I delivered you out of his hand. And ye went over the Jordan, and came unto Jericho: and the men of Jericho fought against you, the Amorite, and the Perizzite, and the Canaanite, and the Hittite, and the Girgashite, the Hivite, and the Jebusite; and I delivered them into your hand. And I sent the hornet before you, which drove them out from before you, even the two kings of the Amorites; not with thy sword, nor with thy bow. And I gave you a land whereon thou hadst not labored, and cities which ye built not, and ye dwell therein; of vineyards and oliveyards which ye planted not do ye eat. Now therefore fear Jehovah, and serve him in sincerity and in truth; and put away the gods which your fathers served beyond the River, and in Egypt; and serve ye Jehovah. And if it seem evil unto you to serve Jehovah, choose you this day whom ye will serve; whether the gods which your fathers served that were beyond the River, or the gods of the Amorites, in whose land ye dwell: but as for me and my house, we will serve Jehovah. And the people answered and said, Far be it from us that we should forsake Jehovah, to serve other gods; for Jehovah our God, he it is that brought us and our fathers up out of the land of Egypt, from the house of bondage, and that did those great signs in our sight, and preserved us in all the way wherein we went, and among all the peoples through the midst of whom we passed; and Jehovah drove out from before us all the peoples, even the Amorites that dwelt in the land: therefore we also will serve Jehovah; for he is our God. And Joshua said unto the people, Ye cannot serve Jehovah; for he is a holy God; he is a jealous God; he will not forgive your transgression nor your sins. If ye forsake Jehovah, and serve foreign gods, then he will turn and do you evil, and consume you, after that he hath done you good. And the people said unto Joshua, Nay; but we will serve Jehovah. And Joshua said unto the people, Ye are witnesses against yourselves that ye have chosen you Jehovah, to serve him. And they said, We are witnesses. Now therefore put away, said he, the foreign gods which are among you, and incline your heart unto Jehovah, the God of Israel. And the people said unto Joshua, Jehovah our God will we serve, and unto his voice will we hearken. So Joshua made a covenant with the people that day, and set them a statute and an ordinance in Shechem.

Joshua 24:1-25 New International Version (NIV)

Then Joshua assembled all the tribes of Israel at Shechem. He summoned the elders, leaders, judges and officials of Israel, and they presented themselves before God. Joshua said to all the people, “This is what the LORD, the God of Israel, says: ‘Long ago your ancestors, including Terah the father of Abraham and Nahor, lived beyond the Euphrates River and worshiped other gods. But I took your father Abraham from the land beyond the Euphrates and led him throughout Canaan and gave him many descendants. I gave him Isaac, and to Isaac I gave Jacob and Esau. I assigned the hill country of Seir to Esau, but Jacob and his family went down to Egypt. “ ‘Then I sent Moses and Aaron, and I afflicted the Egyptians by what I did there, and I brought you out. When I brought your people out of Egypt, you came to the sea, and the Egyptians pursued them with chariots and horsemen as far as the Red Sea. But they cried to the LORD for help, and he put darkness between you and the Egyptians; he brought the sea over them and covered them. You saw with your own eyes what I did to the Egyptians. Then you lived in the wilderness for a long time. “ ‘I brought you to the land of the Amorites who lived east of the Jordan. They fought against you, but I gave them into your hands. I destroyed them from before you, and you took possession of their land. When Balak son of Zippor, the king of Moab, prepared to fight against Israel, he sent for Balaam son of Beor to put a curse on you. But I would not listen to Balaam, so he blessed you again and again, and I delivered you out of his hand. “ ‘Then you crossed the Jordan and came to Jericho. The citizens of Jericho fought against you, as did also the Amorites, Perizzites, Canaanites, Hittites, Girgashites, Hivites and Jebusites, but I gave them into your hands. I sent the hornet ahead of you, which drove them out before you—also the two Amorite kings. You did not do it with your own sword and bow. So I gave you a land on which you did not toil and cities you did not build; and you live in them and eat from vineyards and olive groves that you did not plant.’ “Now fear the LORD and serve him with all faithfulness. Throw away the gods your ancestors worshiped beyond the Euphrates River and in Egypt, and serve the LORD. But if serving the LORD seems undesirable to you, then choose for yourselves this day whom you will serve, whether the gods your ancestors served beyond the Euphrates, or the gods of the Amorites, in whose land you are living. But as for me and my household, we will serve the LORD.” Then the people answered, “Far be it from us to forsake the LORD to serve other gods! It was the LORD our God himself who brought us and our parents up out of Egypt, from that land of slavery, and performed those great signs before our eyes. He protected us on our entire journey and among all the nations through which we traveled. And the LORD drove out before us all the nations, including the Amorites, who lived in the land. We too will serve the LORD, because he is our God.” Joshua said to the people, “You are not able to serve the LORD. He is a holy God; he is a jealous God. He will not forgive your rebellion and your sins. If you forsake the LORD and serve foreign gods, he will turn and bring disaster on you and make an end of you, after he has been good to you.” But the people said to Joshua, “No! We will serve the LORD.” Then Joshua said, “You are witnesses against yourselves that you have chosen to serve the LORD.” “Yes, we are witnesses,” they replied. “Now then,” said Joshua, “throw away the foreign gods that are among you and yield your hearts to the LORD, the God of Israel.” And the people said to Joshua, “We will serve the LORD our God and obey him.” On that day Joshua made a covenant for the people, and there at Shechem he reaffirmed for them decrees and laws.

JOSHUA 24:1-25 The Amplified Bible (AMP)

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). 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. 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. 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.

Joshua 24:1-25 English Standard Version (ESV)

Joshua gathered all the tribes of Israel to Shechem and summoned the elders, the heads, the judges, and the officers of Israel. And they presented themselves before God. And Joshua said to all the people, "Thus says the LORD, the God of Israel, 'Long ago, your fathers lived beyond the Euphrates, Terah, the father of Abraham and of Nahor; and they served other gods. Then I took your father Abraham from beyond the River and led him through all the land of Canaan, and made his offspring many. I gave him Isaac. And to Isaac I gave Jacob and Esau. And I gave Esau the hill country of Seir to possess, but Jacob and his children went down to Egypt. And I sent Moses and Aaron, and I plagued Egypt with what I did in the midst of it, 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. And when they cried to the LORD, he put darkness between you and the Egyptians and made the sea come upon them and cover them; and your eyes saw what I did in Egypt. And you lived in the wilderness a long time. Then I brought you to the land of the Amorites, who lived on the other side of the Jordan. 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 invited Balaam the son of Beor to curse you, but I would not listen to Balaam. Indeed, he blessed you. So I delivered you out of his hand. And you went over the Jordan and came to Jericho, and the leaders of Jericho fought against you, and also the Amorites, the Perizzites, the Canaanites, the Hittites, the Girgashites, the Hivites, and the Jebusites. And I gave them into your hand. And I sent the hornet before you, which drove them out before you, the two kings of the Amorites; it was not by your sword or by your bow. I gave you a land on which you had not labored and cities that you had not built, and you dwell in them. You eat the fruit of vineyards and olive orchards that you did not plant.' "Now therefore fear the LORD and serve him in sincerity and in faithfulness. Put away the gods that your fathers served beyond the River and in Egypt, and serve the LORD. And if it is evil in your eyes to serve the LORD, choose this day whom you will serve, whether the gods your fathers served in the region beyond the River, or the gods of the Amorites in whose land you dwell. But as for me and my house, we will serve the LORD." Then the people answered, "Far be it from us that we should forsake the LORD to serve other gods, for it is the LORD our God who brought us and our fathers up from the land of Egypt, out of the house of slavery, and who did those great signs in our sight and preserved us in all the way that we went, and among all the peoples through whom we passed. And the LORD drove out before us all the peoples, the Amorites who lived in the land. Therefore we also will serve the LORD, for he is our God." But Joshua said to the people, "You are not able to serve the LORD, for he is a holy God. He is a jealous God; he will not forgive your transgressions or your sins. If you forsake the LORD and serve foreign gods, then he will turn and do you harm and consume you, after having done you good." And the people said to Joshua, "No, but we will serve the LORD." Then Joshua said to the people, "You are witnesses against yourselves that you have chosen the LORD, to serve him." And they said, "We are witnesses." He said, "Then put away the foreign gods that are among you, and incline your heart to the LORD, the God of Israel." And the people said to Joshua, "The LORD our God we will serve, and his voice we will obey." So Joshua made a covenant with the people that day, and put in place statutes and rules for them at Shechem.