Fairly self explanatory. Obviously not looking for doctrinal answers, just textual evidence to support / refute this question.
"21 “Not everyone who says to me, ‘Lord, Lord,’ will enter the kingdom of heaven, but only the one who does the will of my Father in heaven. 22 On that day many will say to me, ‘Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many deeds of power in your name?’ 23 Then I will declare to them, ‘I never knew you; go away from me, you evildoers.’"