Zechariah 13:2
“And on that day, declares the LORD of hosts, I will cut off the names of the idols from the land, so that they shall be remembered no more. And also I will remove from the land the prophets and the spirit of uncleanness.
Keil and Delitzsch Biblical Commentary on the Old Testament
The house of David and the inhabitants of Jerusalem represent the whole nation here, as in Zechariah 12:10. This cleansing will be following by a new life in fellowship with God, since the Lord will remove everything that could hinder sanctification. This renewal of life and sanctification is described in Zechariah 12:2-7. Zechariah 12:2. "And it will come to pass in that day, is the saying of Jehovah of hosts, I will cut off the names of the idols out of the land, they shall be remembered no more; and the prophets also and the spirit of uncleanness will I remove out of the land. Zechariah 12:3. And it will come to pass, if a man prophesies any more, his father and his mother, they that begat him, will say to him, Thou must not live, for thou hast spoken deceit in the name of Jehovah: and his father and his mother, they that begat him, will pierce him through because of his prophesying. Zechariah 12:4. And it will come to pass on that day, the prophets will be ashamed every one of his vision, at his prophesying, and will no more put on a hairy mantle to lie. Zechariah 12:5. And he will say, I am no prophet, I am a man who cultivates the land; for a man bought me from my youth. Zechariah 12:6. And if they shall say to him, What scars are these between thy hands? he will say, These were inflicted upon me in the house of my loves."
The new life in righteousness and holiness before God is depicted in an individualizing form as the extermination of idols and false prophets out of the holy land, because idolatry and false prophecy were the two principal forms in which ungodliness manifested itself in Israel. The allusion to idols and false prophets by no means points to the times before the captivity; for even of gross idolatry, and therefore false prophecy, did not spread any more among the Jews after the captivity, such passages as Nehemiah 6:10, where lying prophets rise up, and even priests contract marriages with Canaanitish and other heathen wives, from whom children sprang who could not even speak the Jewish language (Ezra 9:2 ff.; Nehemiah 13:23), show very clearly that the danger of falling back into gross idolatry was not a very remote one.
Moreover, the more refined idolatry of pharisaic self-righteousness and work-holiness took the place of the grosser idolatry, and the prophets generally depict the future under the forms of the past. The cutting off of the names of the idols denotes utter destruction (cf. Hosea 2:19). The prophets are false prophets, who either uttered the thoughts of their hearts as divine inspiration, or stood under the demoniacal influence of the spirit of darkness.
This is evident from the fact that they are associated not only with idols, but with the "spirit of uncleanness." For this, the opposite of the spirit of grace (Zechariah 12:10), is the evil spirit which culminates in Satan, and works in the false prophets as a lying spirit (1 Kings 22:21-23; Revelation 16:13-14).