Matthew 7:21-23 King James Version (KJV)
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.
Revelation 22:14 King James Version (KJV)
14 Blessed are they that do his commandments, that they may have right to the tree of life, and may enter in through the gates into the city.