Joshua's exhortation before his death,
Joshua 23:1 And it came to pass a long time after that Jehovah had given rest to Israel from all their enemies round about, and Joshua had become old, advanced in age, Joshua 23:2 that Joshua called for all Israel, for their elders, and for their heads, and for their judges, and for their officers, and said unto them, I am become old, advanced in age;
by former benefits,
Joshua 23:3 and ye have seen all that Jehovah your God hath done to all these nations because of you. For Jehovah your God is he that hath fought for you. Joshua 23:4 Behold, I have divided unto you by lot for an inheritance, according to your tribes, these nations that remain, from the Jordan, as well as all the nations that I have cut off, as far as the great sea toward the sun-setting.
Joshua 23:5 And Jehovah your God, he will expel them from before you, and dispossess them from out of your sight; and ye shall take possession of their land, as Jehovah your God hath said unto you. Joshua 23:6 And be ye very courageous to keep and to do all that is written in the book of the law of Moses, that ye turn not aside therefrom to the right hand or to the left; Joshua 23:7 that ye enter not among these nations, these that remain among you; and ye shall make no mention of the name of their gods, nor cause to swear [by them], neither serve them, nor bow yourselves unto them; Joshua 23:8 but ye shall cleave unto Jehovah your God, as ye have done unto this day. Joshua 23:9 For Jehovah hath dispossessed from before you great and strong nations; and as to you, no man hath been able to stand before you unto this day. Joshua 23:10 One man of you chaseth a thousand; for Jehovah your God, he it is that fighteth for you, as he hath said unto you.
and by threatenings.
Joshua 23:11 Take great heed therefore unto your souls, that ye love Jehovah your God. Joshua 23:12 For if ye in any wise go back, and cleave unto the residue of these nations, these that remain among you, and make marriages with them, and come in unto them and they unto you: Joshua 23:13 know for a certainty that Jehovah your God will no more dispossess these nations from before you, and they shall be snares and traps unto you, and scourges in your sides, and thorns in your eyes, until ye perish from off this good land which Jehovah your God hath given you. Joshua 23:14 And behold, I am going this day the way of all the earth; and ye know in all your heart, and in all your soul, that not one thing hath failed of all the good words that Jehovah your God hath spoken concerning you: all are come to pass unto younot one thing hath failed thereof. Joshua 23:15 But it shall come to pass, that as every good word hath been fulfilled to you, that Jehovah your God spoke to you, so will Jehovah bring upon you every evil word, until he have destroyed you from off this good land which Jehovah your God hath given you; Joshua 23:16 when ye transgress the covenant of Jehovah your God which he commanded you, and go and serve other gods, and bow yourselves unto them, so that the anger of Jehovah shall be kindled against you, and ye shall perish quickly from off the good land which he hath given unto you.