Answer: The situation you are referring to in the Bible is when the disciples tried casting out a demon from a man's son but could not. The man told Jesus what happened.
Sir (Jesus), have mercy on my son! He is an epileptic and has such terrible attacks that he often falls in the fire or into water. I brought him to your disciples, but they could not heal (cast the demon out of) him (Matthew 17:15 - 16).
Jesus, of course, could and did cast the demon out of the man's son. The son was immediately healed. Perplexed as to why they could not help the man, the disciples asked Christ why they could not cast the evil spirit out. His response was "It was because you do not have enough faith" (Matthew 17:20). He also added, however, that it required fasting and prayer to remove the type of evil presence they had encountered.
The writer of this article has never seen a person who, without a doubt, had a demon. A minister or two may have commented they experienced a person who had one they had to deal with, but it is not entirely clear whether they were telling the truth or not.
Years ago I witnessed an unexpected "tongues outbreak" by a fellow employee who was a member of one of the tongues-speaking churches. He was loudly calling on Jesus and speaking words nobody knew. Everyone in the work area was startled! After my break I had to walk past the tongues-speaking employee to get to my work area.
As I came near him the hair on the back of my neck stood up and I started to get goose bumps! Because I was becoming very uneasy I quickly went by the fellow worker. Did he have an evil spirit (demon) or had he worked his mind into a state of confusion? I was not sure what was the real cause of the tongues speaking but I do know, based on the person's religious beliefs, that even if he had a demon it was doubtful he would want it cast out!
Interestingly, just before Matthew's account of the disciples' inability to cast out a demon, Jesus had sent them on a "gospel training mission" to some cities. Jesus, before they left, gave them the authority to heal the sick, raise the dead and cast out demons wherever they went (Matthew 10:5 - 15).
Another interesting thing to note is that initially the demon in Matthew 17 could not be cast out not only due to a lack of faith on the part of the disciples but also the faithlessness of those around the demonically-possessed person.
Jesus said, "O FAITHLESS and perverse generation . . ." (Matthew 17:17). It was only after the disciples failed to cast out the demon and the crowd was chided for their faithlessness that Jesus rebuked it.
These scriptures warn us that just because someone (including ourselves) believe in Jesus or uses his name does not mean they (or we) have the faith and authority from God for casting out evil spirits!
Casting out demons is serious business and not to be taken lightly. Anyone taking on themselves the driving out of these spirits had better be well grounded in the scriptures and have an ample portion of God's Holy Spirit!
Those who wrongly assume they have the authority necessary for casting out demons can suffer some very real painful consequences, as seven sons mentioned in the New Testament found out. They tried to claim power over a demon by saying 'I command you in the name of Jesus, whom Paul preaches.' (Acts 19:13). The spirit was not amused. It caused the man it possessed to attack the men and wound them (verse 16)!
Those in Acts 19 who were claiming the ability to cast our demons were sons of a Levite chief priest. Because of this, they must have thought of themselves as being pretty important and powerful, certainly powerful enough to simply assume they could use the name (authority) of Jesus Christ (after only hearing of Him through the apostle Paul) to command obedience from fallen angels.
There was, however, one problem. These men believed all they needed to do was use Jesus' name, kind of like a magician who says some "magic words" before a trick, and then what they wanted to happen would occur. The difficulty was the evil spirit(s) they were trying to cast out knew the true power it took to force them to leave and knew these men were pretending that they had it!
Ironically, the men trying to act like they were God were in reality deceived, while those whose existence was based entirely on deception (demons) knew what was the real truth!
Those Christians and others who saw or heard of what happened quickly learned not to take the name and authority of Jesus Christ lightly! They knew not to assume they had God's authority to do whatever they pleased whenever they wanted. If the Lord has not ordained you to use His name for casting out demons, do not think you can simply conjure up some faith and do it anyway. Based on the Bible, it will not work!