Matthew 7:21-23 (NASB):
21 “Not everyone who says to Me, ‘Lord, Lord,’ will enter the kingdom of heaven, but the one who does the will of My Father who is in heaven will enter. 22 Many will say to Me on that day, ‘Lord, Lord, did we not prophesy in Your name, and in Your name cast out demons, and in Your name perform many miracles?’ 23 And then I will declare to them, ‘I never knew you; leave Me, you who practice lawlessness.’
Who/what is the source of the power behind the prophecies, the casting out of demons and the miracles in verse 22? Is the passage talking about genuine sings and wonders of God, counterfeit miracles of Satan or miracles from a different source? If they come from God, then how come the human vessels used to perform them are not allowed to enter the kingdom of heaven? Can God actively use someone in signs and wonders and still prohibit them from entering His kingdom?