"Not everyone who says to Me, 'Lord, Lord!' will enter the kingdom of heaven, but [only] the one who does the will of My Father in heaven.
On that day many will say to Me, 'Lord, Lord, didn't we prophesy in Your name, drive out demons in Your name, and do many miracles in Your name?'
Then I will announce to them, 'I never knew you! Depart from Me, you lawbreakers! '
References for Matthew 7:23
"Therefore, everyone who hears these words of Mine and acts on them will be like a sensible man who built his house on the rock.
References for Matthew 7:24
The rain fell, the rivers rose, and the winds blew and pounded that house. Yet it didn't collapse, because its foundation was on the rock.
But everyone who hears these words of Mine and doesn't act on them will be like a foolish man who built his house on the sand.
The rain fell, the rivers rose, the winds blew and pounded that house, and it collapsed. And its collapse was great!"
When Jesus had finished this sermon, the crowds were astonished at His teaching,
References for Matthew 7:28
because He was teaching them like one who had authority, and not like their scribes.