I will offer these words from a source of mine on the subject of demon possesion.
"In that day there shall be a fountain opened to the house of David and to the inhabitants of Jerusalem for sin and for uncleanness.
"And it shall come to pass in that day, saith the Lord of hosts, that I will cut off the names of the idols out of the land, and they shall no more be remembered: and also I will cause the prophets and the unclean spirit to pass out of the land. And it shall come to pass, that when any shall yet prophesy, then his father and his mother that begat him shall say unto him, Thou shalt not live; for thou speakest lies in the name of the Lord: and his father and his mother that begat him shall thrust him through when he prophesieth. And it shall come to pass in that day, that the prophets shall be ashamed every once of his vision, when he hath prophesied; neither shall they wear a rough garment to deceive: But he shall say, I am no prophet, I am an husbandman; for man taught me to keep cattle from my youth. And one shall say unto him, What are these wounds in thine hand? Then he shall answer, Those with which I was wounded in the house of my friends." (Zech. 13:1-6)
The subject of demon possession is a difficult one. I do not pretend to know a great deal about it. I do know that the Bible teaches that there were people possessed of demons and that Christ and the apostles cast out demons. Any attempt to weaken this by saying that the recorded accounts were the result of Christ's accepting a superstition which existed during the first century must be totally rejected by those who accept his diety.
Zechariah 13 points to Christ as a fountain, an atonement for sin. Verse 2 is a prophecy of the end of demon possession. Since it took a miraculous operation of the Spirit to cast out demons, the cessation of the miraculous would have left no means for dealing with demons if they continued beyond the period of miracles. The atonement of Christ limited the work of Satan (Matt. 12:22-30). The casting out of demons demonstrated the power of Christ over Satan. The apostles' casting out of demons demonstrated their apostolic power, proved the gospel they preached, and confirmed the claim, of Christ. When the gospel :was revealed, the faith "once delivered unto the saints" (Jude 3), there was no further need of the miraculous. In the passing away of the miraculous, there also would be the cessation of demon possession.
Notice that Zechariah not only foresaw the passing of demon possession, but also the passing of the prophets. Since prophecy stands for the entire miraculous operation of the Spirit, one should not be surprised that Zechariah combines the passing of both, the prophecy and demon possession.
Verses 3 through 6 picture a time when there would be no genuine prophets. Thus, any claim to be a prophet would be an evident lie. Since the prophet would cease, any attempt to prophesy would produce shame. The garment worn by prophets would no longer be used as a means of deceit by false prophets. The garment identified the prophet. None wearing the garment of a prophet signified a time when there would be no genuine prophet to counterfeit. Verses 5 and 6 show the refusal to make any claim to prophesy. When questioned as to the wounds in his hands, he would lie about it by saying he had been wounded in the house of his friends. There was a practice among heathen priests of cutting themselves while attempting to prophesy, as seen in I Kings 18:28: "And they cried aloud, and cut themselves after their manner with knives and lancets, till the blood gushed out upon them."
This entire section of the book of Zechariah is intended to foretell the cessation of the prophet. The picture of no one being willing to admit to being a prophet establishes this fact. The truth of the matter is, if men believe the Bible, the claim on the part of any to be a prophet or to have any miraculous gift would be marked as a lie.
Any claim to speak in the. name of the Lord today by direct operation of the Holy Spirit is a lie (Zech. 13:3). The claim to speak in a tongue by a direct operation of the Holy Spirit is a lie. Zechariah foresaw the end of phophecy, and with it the end of the miraculous operation of the Holy Spirit. Whom shall I believe: one to whom the word of the Lord came, who is called a prophet and whose prophecy is dated (Zech. 1:1), or Pentecostals who falsely claim to have miraculous gifts? It is not difficult for me to accept both Daniel and Zechariah who, by inspiration, foresaw the cessation of the prophets, and with them the passing of miraculous gifts. Daniel 9 and Zechariah 13 confirm Paul in I Corinthians 1:5-8 and I Corinthians 13:1-13. Thus do both the Old and the New Testaments deny the claim today of Pentecostal speaking in tongues.