Matthew 7:21-27

New International Version (NIV)

21 “Not everyone who says to me, ‘Lord, Lord,’ will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven.
22 Many will say to me on that day, ‘Lord, Lord, did we not prophesy in your name, and in your name drive out demons and perform many miracles?’
23 Then I will tell them plainly, ‘I never knew you. Away from me, you evildoers!’
24 “Therefore everyone who hears these words of mine and puts them into practice is like a wise man who built his house on the rock.
25 The rain came down, the streams rose, and the winds blew and beat against that house; yet it did not fall, because it had its foundation on the rock.
26 But everyone who hears these words of mine and does not put them into practice is like a foolish man who built his house on sand.
27 The rain came down, the streams rose, and the winds blew and beat against that house, and it fell with a great crash.”

New King James (NKJ)

21 “Not everyone who says to Me, ‘Lord, Lord,’ shall enter the kingdom of heaven, but he who does the will of My Father in heaven.
22 “Many will say to Me in that day, ‘Lord, Lord, have we not prophesied in Your name, cast out demons in Your name, and done many wonders in Your name?’
23 “And then I will declare to them, ‘I never knew you; depart from Me, you who practice lawlessness!’
24 “Therefore whoever hears these sayings of Mine, and does them, I will liken him to a wise man who built his house on the rock:
25 “and the rain descended, the floods came, and the winds blew and beat on that house; and it did not fall, for it was founded on the rock.
26 “Now everyone who hears these sayings of Mine, and does not do them, will be like a foolish man who built his house on the sand:
27 “and the rain descended, the floods came, and the winds blew and beat on that house; and it fell. And great was its fall.”

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.
24 Therefore whosoever heareth these sayings of mine, and doeth them, I will liken him unto a wise man, which built his house upon a rock:
25 And the rain descended, and the floods came, and the winds blew, and beat upon that house; and it fell not: for it was founded upon a rock.
26 And every one that heareth these sayings of mine, and doeth them not, shall be likened unto a foolish man, which built his house upon the sand:
27 And the rain descended, and the floods came, and the winds blew, and beat upon that house; and it fell: and great was the fall of it.