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.
Acts 8:9-23 King James Version (KJV)
9 But there was a certain man, called Simon, which beforetime in the same city used sorcery, and bewitched the people of Samaria, giving out that himself was some great one:
10 To whom they all gave heed, from the least to the greatest, saying, This man is the great power of God.
11 And to him they had regard, because that of long time he had bewitched them with sorceries.
12 But when they believed Philip preaching the things concerning the kingdom of God, and the name of Jesus Christ, they were baptized, both men and women.
13 Then Simon himself believed also: and when he was baptized, he continued with Philip, and wondered, beholding the miracles and signs which were done.
14 Now when the apostles which were at Jerusalem heard that Samaria had received the word of God, they sent unto them Peter and John:
15 Who, when they were come down, prayed for them, that they might receive the Holy Ghost:
16 (For as yet he was fallen upon none of them: only they were baptized in the name of the Lord Jesus.)
17 Then laid they their hands on them, and they received the Holy Ghost.
18 And when Simon saw that through laying on of the apostles' hands the Holy Ghost was given, he offered them money,
19 Saying, Give me also this power, that on whomsoever I lay hands, he may receive the Holy Ghost.
20 But Peter said unto him, Thy money perish with thee, because thou hast thought that the gift of God may be purchased with money.
21 Thou hast neither part nor lot in this matter: for thy heart is not right in the sight of God.
22 Repent therefore of this thy wickedness, and pray God, if perhaps the thought of thine heart may be forgiven thee.
23 For I perceive that thou art in the gall of bitterness, and in the bond of iniquity.