Many will say to me in that day, Lord, Lord, did we not prphesy in your name, and expel demons in your name, and perform many powerful works in your name? And yet then I will say to them: I never knew you! Get away from me, you workers of lawlessness! Mathew 7:22
I can't think of a more appropriate application of that verse.