Judges 2:3 Midrash

וְגַ֣ם אָמַ֔רְתִּי לֹֽא־אֲגָרֵ֥שׁ אוֹתָ֖ם מִפְּנֵיכֶ֑ם וְהָי֤וּ לָכֶם֙ לְצִדִּ֔ים וֵאלֹ֣הֵיהֶ֔ם יִהְי֥וּ לָכֶ֖ם לְמוֹקֵֽשׁ׃

Wherefore I also said: I will not drive them out from before you; but they shall be unto you as snares, and their gods shall be a trap unto you.’

Read midrashic interpretation of Judges 2:3: and classical rabbinic exegesis.