After a long time had passed and the LORD had given Israel rest from all their enemies around them, Joshua, by then old and well advanced in years,
summoned all Israel--their elders, leaders, judges and officials--and said to them: "I am old and well advanced in years.
You yourselves have seen everything the LORD your God has done to all these nations for your sake; it was the LORD your God who fought for you.
Remember how I have allotted as an inheritance for your tribes all the land of the nations that remain--the nations I conquered--between the Jordan and the Great Sea in the west
The LORD your God himself will drive them out of your way. He will push them out before you, and you will take possession of their land, as the LORD your God promised you.
"Be very strong; be careful to obey all that is written in the Book of the Law of Moses, without turning aside to the right or to the left.
Do not associate with these nations that remain among you; do not invoke the names of their gods or swear by them. You must not serve them or bow down to them.
But you are to hold fast to the LORD your God, as you have until now.
"The LORD has driven out before you great and powerful nations; to this day no one has been able to withstand you.
One of you routs a thousand, because the LORD your God fights for you, just as he promised.
So be very careful to love the LORD your God.
"But if you turn away and ally yourselves with the survivors of these nations that remain among you and if you intermarry with them and associate with them,
then you may be sure that the LORD your God will no longer drive out these nations before you. Instead, they will become snares and traps for you, whips on your backs and thorns in your eyes, until you perish from this good land, which the LORD your God has given you.
"Now I am about to go the way of all the earth. You know with all your heart and soul that not one of all the good promises the LORD your God gave you has failed. Every promise has been fulfilled; not one has failed.
But just as every good promise of the LORD your God has come true, so the LORD will bring on you all the evil he has threatened, until he has destroyed you from this good land he has given you.
If you violate the covenant of the LORD your God, which he commanded you, and go and serve other gods and bow down to them, the LORD's anger will burn against you, and you will quickly perish from the good land he has given you."
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 forefathers, including Terah the father of Abraham and Nahor, lived beyond the River and worshiped other gods.
But I took your father Abraham from the land beyond the River 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 sons 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 fathers 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 desert 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 forefathers worshiped beyond the 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 forefathers served beyond the River, 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 fathers 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 drew up for them decrees and laws.
And Joshua recorded these things in the Book of the Law of God. Then he took a large stone and set it up there under the oak near the holy place of the LORD.
"See!" he said to all the people. "This stone will be a witness against us. It has heard all the words the LORD has said to us. It will be a witness against you if you are untrue to your God."
Then Joshua sent the people away, each to his own inheritance.
After these things, Joshua son of Nun, the servant of the LORD, died at the age of a hundred and ten.
And they buried him in the land of his inheritance, at Timnath Serah in the hill country of Ephraim, north of Mount Gaash.
Israel served the LORD throughout the lifetime of Joshua and of the elders who outlived him and who had experienced everything the LORD had done for Israel.
And Joseph's bones, which the Israelites had brought up from Egypt, were buried at Shechem in the tract of land that Jacob bought for a hundred pieces of silver from the sons of Hamor, the father of Shechem. This became the inheritance of Joseph's descendants.
And Eleazar son of Aaron died and was buried at Gibeah, which had been allotted to his son Phinehas in the hill country of Ephraim.