Joshua 23:12-13 (ASV)
12 Else if ye do at all go back, and cleave unto the remnant of these nations, even these that remain among you, and make marriages with them, and go in unto them, and they to you;
13 know for a certainty that Jehovah your God will no more drive these nations from out of your sight; but they shall be a snare and a trap unto you, and a scourge in your sides, and thorns in your eyes, until ye perish from off this good land which Jehovah your God hath given you.
About Joshua 23: This chapter records Joshua’s final address to Israel’s leaders after the land was divided and settled, appearing at the close of the book before the covenant renewal at Shechem. The setting is likely Gilgal, where he gathered the elders, judges, and officers to give his parting instructions. Read the study notes
2 verses · Compare in parallel · Read all of Joshua 23