New American Standard Bible (NASB)
Joshua 23
13 know with certainty that the Lord your God will not continue to drive these nations out from before you; but they will be a snare and a trap to you, and a whip on your sides and thorns in your eyes, until you perish from off this good land which the Lord your God has given you.
14 "Now behold, today I am going the way of all the earth, and you know in all your hearts and in all your souls that not one word of all the good words which the Lord your God spoke concerning you has failed; all have been fulfilled for you, not one of them has failed.
15 It shall come about that just as all the good words which the Lord your God spoke to you have come upon you, so the Lord will bring upon you all the threats, until He has destroyed you from off this good land which the Lord your God has given you.
16 When you transgress the covenant of the Lord your God, which He commanded you, and go and serve other gods and bow down to them, then the anger of the Lord will burn against you, and you will perish quickly from off the good land which He has given you."
Joshua 24
1 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.
2 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.
3 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.
4 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.
5 Then I sent Moses and Aaron, and I plagued Egypt by what I did in its midst; and afterward I brought you out.
6 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.
7 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.