Spiritual Truth Test
21 Not everyone 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 did many wonderful work?
23 And then I will profess unto them, I never knew you: depart from me, ye that work iniquity.
Jesus will either welcome you into the Kingdom of Heaven or he will say depart from me ye workers of iniquity, I never knew you. This happens after you are dead and your body returns to mother earth and spirit returns to God who gave it. God is righteousness and his judgment is righteousness.