אַבֵּ֣ד תְּ֠אַבְּדוּן אֶֽת־כָּל־הַמְּקֹמ֞וֹת אֲשֶׁ֧ר עָֽבְדוּ־שָׁ֣ם הַגּוֹיִ֗ם אֲשֶׁ֥ר אַתֶּ֛ם יֹרְשִׁ֥ים אֹתָ֖ם אֶת־אֱלֹהֵיהֶ֑ם עַל־הֶהָרִ֤ים הָֽרָמִים֙ וְעַל־הַגְּבָע֔וֹת וְתַ֖חַת כָּל־עֵ֥ץ רַעֲנָן׃
אונטערברענגען זאָלט איר אונטערברענגען אַלע ערטער װאָס די פֿעלקער װאָס איר ירשעט זײ האָבן דאָרטן געדינט זײערע געטער, אױף די הױכע בערג, און אױף די בערגלעך, און אונטער יעטװעדער צװײַגהאַפֿטיקן בױם.
Rashi
אבד תאבדון YE SHALL UTTERLY DESTROY — Destroy and again destroy! (i.e. utterly destroy). From here we learn that he who eradicates an object of idol-worship must thoroughly uproot it (i.e. remove every trace of it) (Sifrei Devarim 60:1).
Chizkuni
אבד תאבדון את כל המקומות, “you are to utterly destroy all the sites, etc.; ”the Torah here speaks of vessels used in the worship of idols, [not the earth itself on which the idol stands. Ed.] Besides, it is impossible to forbid the surface of the earth for use, as if so, the idolaters would be able to turn all habitable surfaces on the globe into forbidden areas. (B’chor shor)
Ibn Ezra
You must utterly eradicate all the places… The grammarian Rabbi Yona ibn Janaḥ said that the phrase their gods is missing a vav , as if to say “the places where they worshiped, [and] their gods …”. But his explanation contributes nothing. Rather, the phrase is the object of the verb they worshiped.
Or HaChaim
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערRabbeinu Bahya
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערSiftei Chakhamim
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערRav Hirsch
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערRashi
את כל המקמות אשר עבדו שם וגו׳ [YE SHALL UTTERLY DESTROY] ALL THE PLACES (according to Rashi: FROM ALL THE PLACES) WHEREIN [THE NATIONS …] SERVED — And what shall ye destroy from them? Their gods which are upon the mountains (Avodah Zarah 45a).