Matt 7
21
Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father which is in heaven.
22 Many will say to me in that day, Lord, Lord, have we not prophesied in thy name? and in thy name have cast out devils? and in thy name done many wonderful works?
23 And then will I profess unto them, I never knew you:
depart from me, ye that work iniquity.
Luke 6:46 And why call ye me, Lord, Lord, and do not the things which I say?
They called him Lord, but they obviously did not obey his will. Jesus himself said "he never knew them."
They could claim to know Jesus, but did Jesus know them? That's the real question?
Jesus said in
John 10:14 I am the good shepherd, and
know my sheep, and am known of mine.
So yes, they might claim to "know" Jesus, but only Jesus knows if they truly know him.
We see a lot of "christians" today who claim to know Jesus, but does Jesus know them? that question is one that each individual has to answer for himself.
The bible says that the Spirit bears witness our spirit that we are the sons of God. If Jesus knows them, their spirit will bear witness to that truth.
As for them having the HolyGhost: Yes, they prophesied in his name and did many wonderful works.
A person doing such does not NECESSARILY mean the person is APPROVED by the God. Now, this may sound strange, but look at the case of Balaam and Saul.
Balaam prophesied under the anointing of the Spirit of God. Yet, Jesus rebuked him in
Rev 3. In fact, God did not approve of Balaam in
Numbers 23 even though he did prophesy.
Saul prophesied when the Spirit of God came upon him (even the Hebrews said "Is Saul among the Prophets?"). But Saul was no prophet.
So yes, a person can do mighty works in under the anointing in the name of the Lord, but yet the person is NOT approved by the Holy Spirit of God.