וְלֹא־תָבִ֤יא תֽוֹעֵבָה֙ אֶל־בֵּיתֶ֔ךָ וְהָיִ֥יתָ חֵ֖רֶם כָּמֹ֑הוּ שַׁקֵּ֧ץ ׀ תְּשַׁקְּצֶ֛נּוּ וְתַעֵ֥ב ׀ תְּֽתַעֲבֶ֖נּוּ כִּי־חֵ֥רֶם הֽוּא׃ (פ)
et tu ne dois pas apporter une abomination dans ta demeure, tu serais anathème comme elle: déteste-la, repousse-la avec horreur, elle est vouée à l’anathème!
Tze'enah Ure'enah
“You shall not bring an abhorrent thing into your house” [7:26]. From here we learn that one should not rent a house to a gentile in the land of Israel, since the gentile places his foreign god in the house. Our rabbis write that outside the land of Israel it is permitted to rent one’s house to a gentile. So writes Rabbenu Hananel and some other rabbis. However, a righteous person does not rent his house to a gentile even outside the land of Israel.6Bahya, Deuteronomy, 7:26.
Chizkuni
שקץ תשקצנו, “you are to treat it as if it were an abomination (regardless of its market value). The reference is to residual gold and silver of such deities even after they have been dismantled.
Sforno
תתעבנו כי חרם הוא, you must treat that silver and gold as if it were an abomination;