Joshua gathered all the tribes of Israel at Shechem. He summoned the elders of Israel, its leaders, judges, and officers. They presented themselves before God.
References for Joshua 24:1
Then Joshua said to the entire people, "This is what the LORD, the God of Israel, says: Long ago your ancestors lived on the other side of the Euphrates. They served other gods. Among them was Terah the father of Abraham and Nahor.
I took Abraham your ancestor from the other side of the Euphrates. I led him around through the whole land of Canaan. I added to his descendants and gave him Isaac.
To Isaac I gave Jacob and Esau. I gave Mount Seir to Esau to take over. But Jacob and his sons went down to Egypt.
Then I sent Moses and Aaron. I plagued Egypt with what I did to them. After that I brought you out.
I brought your ancestors out of Egypt, and you came to the sea. The Egyptians chased your ancestors with chariots and horses to the Reed Sea.
References for Joshua 24:6
Then they cried for help to the LORD. So he set darkness between you and the Egyptians. He brought the sea down on them, and it covered them. With your own eyes you saw what I did to the Egyptians. You lived in the desert for a long time.
“Then I brought you into the land of the Amorites who lived on the other side of the Jordan. They attacked you, but I gave them into your power, and you took over their land. I wiped them out before you.
Then Moab's King Balak, Zippor's son, set out to attack Israel. He summoned Balaam, Beor's son, to curse you.
But I wasn't willing to listen to Balaam, so he actually blessed you. I rescued you from his power.
Then you crossed over the Jordan. You came to Jericho, and the citizens of Jericho attacked you. They were Amorites, Perizzites, Canaanites, Hittites, Girgashites, Hivites, and Jebusites. But I gave them into your power.
I sent the hornet before you. It drove them out before you and did the same to the two kings of the Amorites. It wasn't your sword or bow that did this.
References for Joshua 24:12
I gave you land on which you hadn't toiled and cities that you hadn't built. You settled in them and are enjoying produce from vineyards and olive groves that you didn't plant.