"Master," said John, “we saw a man driving out demons in your name and we tried to stop him, because he is not one of us.”
The seventy-two returned with joy and said, “Lord, even the demons submit to us in your name.”
Acts 19:13-16 (New International Reader’s Version)
13 Some Jews went around driving out evil spirits. They tried to use the name of the Lord Jesus to set free those who were controlled by demons. They said, “In Jesus’ name I command you to come out. He is the Jesus that Paul is preaching about.” 14 Seven sons of Sceva were doing this. Sceva was a Jewish chief priest. 15 **One day **the evil spirit answered them, “I know Jesus. And I know about Paul. But who are you?” 16 Then the man who had the evil spirit jumped on Sceva’s sons. He overpowered them all. He gave them a terrible beating. They ran out of the house naked and bleeding.
There is power, authority in the name of Jesus and even non-believers on occasions have used it to effect miracles. These people have misguided faith. They belive in the miracle power of Jesus name without believing in the salvation angle of his name.
Yes, they had some faith, but they did not have true active faith that is described in Matthew 25 and in James. Basically, true faith puts legs on it, to feed and care for hte poor. These people in Matthew 7, were going for the spectactular without the substance of faith. The key to Matthew 7:22-24 are the words “I never knew you”, that is they never had a real personal relationship with God, for if they had as John in his letters points out, they would have put feet on their faith, becoming active faith by helpping the poor by performing the basic acts of charity, feeding, clothing, housing, comforting the poor. They took advantage of the name of Jesus without having true active faith.
James 2:14-26 (New International Version - UK)
New International Version - UK (NIVUK)
Copyright © 1973, 1978, 1984 by International Bible Society
Faith and Deeds
14 What good is it, my brothers, if a man claims to have faith but has no deeds? Can such faith save him?
15 Suppose a brother or sister is without clothes and daily food.
16 If one of you says to him, Go, I wish you well; keep warm and well fed, but does nothing about his physical needs, what good is it?
17 In the same way, faith by itself, if it is not accompanied by action, is dead.
18 But someone will say, You have faith; I have deeds. Show me your faith without deeds, and I will show you my faith by what I do.
19 You believe that there is one God. Good! Even the demons believe that— and shudder.
20 You foolish man, do you want evidence that faith without deeds is useless?
21 Was not our ancestor Abraham considered righteous for what he did when he offered his son Isaac on the altar?
22 You see that his faith and his actions were working together, and his faith was made complete by what he did.
23 And the scripture was fulfilled that says, Abraham believed God, and it was credited to him as righteousness, and he was called God's friend.
24 You see that a person is justified by what he does and not by faith alone.
25 In the same way, was not even Rahab the prostitute considered righteous for what she did when she gave lodging to the spies and sent them off in a different direction?
26 As the body without the spirit is dead, so faith without deeds is dead.
Like I said, they lacked active faith or salvation faith.
One of your texts speaks of salvation or active faith.
The other speaks of those whom takes advantage of the name of Jesus while lacking active salvation faith.
They like Hebrews 6:4-6 tasted the power of the age to come, but did not know the King of hte age to come.
4 It is impossible for those who have once been enlightened, who have tasted the heavenly gift, who have shared in the Holy Spirit,
5 **who have tasted the goodness of the word of God and the powers of the coming age,**
6 if they fall away, to be brought back to repentance, because to their loss they are crucifying the Son of God all over again and subjecting him to public disgrace.
Basically, it is like apple pie, one can just Taste it or one Can devour the whole pie.
Hebrews 6:4-6 and Matthew 7:22-24 speaks of just tasters, whereas your other text speaks of those who eat the whole pie.