The corresponding letter to this chapter is Beit – house; duality as in husband and wife; also division between good and evil, etc.
The L-rd, the G-d of Israel took care of Israel in all its battles:
Y’hoshua 24:1-13 Then Y’hoshua gathered all the tribes of Israel to Sh’khem, and called for the elders of Israel and for their heads and their judges and their officers; and they presented themselves before G-d. And Y’hoshua said to all the people, "So says the L-RD, the G-d of Israel, 'From ancient times your fathers lived beyond the River, namely, Terah, the father of Avraham and the father of Nahor, and they served other gods. 'Then I took your father Avraham from beyond the River, and led him through all the land of Kena’an (Canaan), and multiplied his descendants and gave him Yitz’chak (Isaac). ' And to Yitz’chak (Isaac) I gave Ya’akov and Esav, and to Esav I gave Mount Seir, to possess it; but Ya’akov and his sons went down to Egypt. 'Then I sent Moshe and Aaron, and I plagued Egypt by what I did in its midst; and afterward I brought you out. 'And 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 L-RD, 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 Emori (Amorites) who lived beyond the Yarden (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 Tzippor, king of Mo’av, 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. 'And you crossed the Yarden (Jordan) and came to Yericho (Jericho); and the citizens of Yericho (Jericho) fought against you, and the Emori (Amorites) and the P’rizi (Perizzite) and the Kena’an (Canaan) and the Hitti and the Girgashi, the Hivi and the Y’vusi (Jebusite). Thus I gave them into your hand. 'Then I sent the hornet before you and it drove out the two kings of the Emori from before you, but not by your sword or your bow. 'And 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.'
Beyond the River – This is a reference to the Euphrates River.
Y’hoshua gives a summary of the history of the nation of Israel. Reminding them that their ancestors had worshipped other gods in the past and admonishing them not to repeat this sin in the future.
Y’hoshua 24:14-15 "Now, therefore, fear the L-RD 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 L-RD. And if it is disagreeable in your sight to serve the L-RD, 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 Emori in whose land you are living; but as for me and my house, we will serve the L-RD."
The land is given to Israel as a gift and therefore it is Israel’s responsibility to serve the L-rd.
Who do you serve? Do you server the G-d of Israel, the Creator and Ruler of the Universe? Or do you serve another?
Y’hoshua 24:16-18 And the people answered and said, "Far be it from us that we should forsake the L-RD to serve other gods; for the L-RD our G-d 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. "And the L-RD drove out from before us all the peoples, even the Emori who lived in the land. We also will serve the L-RD, for He is our G-d."
Of course all Israel immediately declared that they would be faithful to G-d.
Y’hoshua 24:19-28 Then Y’hoshua said to the people, "You will not be able to serve the L-RD, for He is a holy G-d. He is a jealous G-d; He will not forgive your transgression or your sins. If you forsake the L-RD and serve foreign gods, then He will turn and do you harm and consume you after He has done good to you." And the people said to Y’hoshua, "No, but we will serve the L-RD." And Y’hoshua said to the people, "You are witnesses against yourselves that you have chosen for yourselves the L-RD, 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 L-RD, the G-d of Israel." And the people said to Y’hoshua, "We will serve the L-RD our G-d and we will obey His voice." So Y’hoshua made a covenant with the people that day, and made for them a statute and an ordinance in Sh’khem. And Y’hoshua wrote these words in the book of the law of G-d; and he took a large stone and set it up there under the oak that was by the sanctuary of the L-RD. And Y’hoshua said to all the people, "Look, this stone shall be for a witness against us, for it has heard all the words of the L-RD which He spoke to us; thus it shall be for a witness against you, lest you deny your G-d." Then Y’hoshua dismissed the people, each to his inheritance.
This is a short-term prophecy. Who would be the great stone that would be a witness against them?
You will see the Angel of the L-rd beside an oak tree in the future and will be a witness against them. He is that stone.
Sof’tim (Judges) 6:10-11 and I said to you, "I am the L-RD your G-d; you shall not fear the gods of the Amorites in whose land you live. But you have not obeyed Me."' " Then the angel of the L-RD came and sat under the oak that was in Ophrah, which belonged to Joash the Abiezrite as his son Gideon was beating out wheat in the wine press in order to save it from the Midianites.
Yeshua is also even called the rock.
1 Kefa (Peter) 2:7-8 This precious value, then, is for you who believe. But for those who disbelieve, "The stone which the builders rejected, This became the very corner stone," and, "A stone of stumbling and a rock of offense"; for they stumble because they are disobedient to the word, and to this doom they were also appointed.
Y’hoshua 24:29-33 And it came about after these things that Y’hoshua the son of Nun, the servant of the L-RD, died, being one hundred and ten years old. And they buried him in the territory of his inheritance in Timnat-Serach, which is in the hill country of Efrayim, on the north of Mount Ga’ash. And Israel served the L-RD all the days of Y’hoshua and all the days of the elders who survived Y’hoshua, and had known all the deeds of the L-RD which He had done for Israel. Now they buried the bones of Yosef, which the sons of Israel brought up from Egypt, at Sh’khem, in the piece of ground which Yakkov had bought from the sons of Hamor the father of Sh’khem for one hundred pieces of money; and they became the inheritance of Yosef's sons. And El’azar the son of Aharon died; and they buried him at Gibeah of Pinchas (Phinehas) his son, which was given him in the hill country of Efrayim (Ephraim).
They had carried the bones of Yosef all the way from the Exodus to be buried here. Yosef had made them promise this.
B’resheet (Genesis) 50:25 Then Yosef made the sons of Israel swear, saying, "God will surely take care of you, and you shall carry my bones up from here."