Positive commandment · Mitzvat Aseh #185 of 613
To destroy false gods and all their objects of worship
לאבד עבודה זרה וכל משמשיה
The verse · Devarim 12:2
אַבֵּד תְּאַבְּדוּן אֶת־כׇּל־הַמְּקֹמוֹת אֲשֶׁר עָבְדוּ־שָׁם הַגּוֹיִם אֲשֶׁר אַתֶּם יֹרְשִׁים אֹתָם אֶת־אֱלֹהֵיהֶם עַל־הֶהָרִים הָרָמִים וְעַל־הַגְּבָעוֹת וְתַחַת כׇּל־עֵץ רַעֲנָן
“You shall utterly destroy all the places, in which the nations whom you are to dispossess, served their gods, upon the high mountains, and upon the hills, and under every leafy tree:”
The Rambam’s words
To destroy false gods and all their objects of worship, as [Deuteronomy 12:2] states: "You shall surely destroy...."
לאבד עבודה זרה וכל משמשיה, שנאמר: "אבד תאבדון את כל המקומות" (דברים יב,ב).
Why · Sefer HaChinuch #436
To destroy idolatry and its auxiliaries
“It is from the roots of the commandment to erase the name of idolatry and all of its remembrance from the world.”
Who & when
“And it is practiced by males and females in every place and at all times; as it is a commandment upon us to destroy the name of idolatry if the power is in our hands. (See Mishneh Torah, Laws of Foreign Worship and Customs of the Nations 7:1.) But we are not obligated to pursue after them, except in the Land of Israel at the time when our hands are domineering over its worshipers.”
Where in the Mishneh Torah
Hilchot Foreign Worship and Customs of the Nations הלכות עבודה זרה וחוקות הגויים