Joshua
Joshua 23:13ESV·traditional attribution

know for certain that the LORD your God will no longer drive out these nations before you, but they shall be a snare and a trap for you, a whip on your sides and thorns in your eyes, until you perish from off this good ground that the LORD your God has given you.

John Gill Reformed Baptist @doctorgill

Know for a certainty that the Lord your God will no more drive out any of these nations from before you,.... Or, "knowing ye shall know" (r); or "know ye"; this may be taken for granted, or the fullest proof, and clearest demonstration, and strongest assurance will be given of it, that in case of such bad conduct, and disobedience to the will of God...

Geneva Bible Notes Reformed @genevanotes

Know for a certainty that the LORD your God will no more drive out [any of] these nations from before you; but 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 the LORD your God hath given you.

Adam Clarke Methodist @methodicalclarke

They shall be snares - לפח lephach, a net or gin, set by the artful fowler to catch heedless birds. And traps - מוקש mokesh, any snare, toil, or trap, placed on the ground to catch the unwary traveler or wild beast by the foot.