וַיֹּ֤אמֶר יַעֲקֹב֙ אֶל־בֵּית֔וֹ וְאֶ֖ל כָּל־אֲשֶׁ֣ר עִמּ֑וֹ הָסִ֜רוּ אֶת־אֱלֹהֵ֤י הַנֵּכָר֙ אֲשֶׁ֣ר בְּתֹכְכֶ֔ם וְהִֽטַּהֲר֔וּ וְהַחֲלִ֖יפוּ שִׂמְלֹתֵיכֶֽם׃
Lalu Yakub berkata kepada seisi rumahnya dan kepada semua orang yang bersamanya: “Singkirkanlah allah-allah asing yang ada di tengah-tengah kalian, sucikanlah diri kalian, dan gantilah pakaian kalian.
Rashi
הנכר [PUT AWAY] THE STRANGE [GODS] —which you have in your possession from the spoil of Shechem.
Ibn Ezra
1 Remove all of your strange gods. Heaven that a prophet should lie with a woman who worshiped foreign gods! And the explanation for this is as we find in Parashat Vayelech (Deuteronomy 31).