Matthew 7:23

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 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?’

Then I will tell them plainly, ‘I never knew you; depart from Me, you workers of lawlessness!’

24 Therefore everyone who hears these words of Mine and acts on them is like a wise man who built his house on the rock.

25 The rain fell, the torrents raged, and the winds blew and beat against that house; yet it did not fall, because its foundation was on the rock.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Then I will tell them plainly, ‘I never knew you; depart from Me, you workers of lawlessness!’
KJV
And then will I profess unto them, I never knew you: depart from me, ye that work iniquity.
WEB
Then I will tell them, ‘I never knew you. Depart from me, you who work iniquity.’
ASV
And then will I profess unto them, I never knew you: depart from me, ye that work iniquity.
DARBY
and then will I avow unto them, I never knew you. Depart from me, workers of lawlessness.
BLB
And then I will profess to them, ‘I never knew you⁺; depart from Me, [you] working lawlessness!’
ÅB
Og da skal jeg si til dem: ‘Jeg har aldri kjent dere. Vik bort fra meg, dere som gjorde urett!’
OTB
Da skal jeg si dem rett ut: ‘Jeg har aldri kjent dere; gå bort fra meg, dere som gjør urett.’
B1930
Og da skal jeg vidne for dem: Jeg har aldri kjent eder; vik bort fra mig, I som gjorde urett!

Study notes (Tyndale)

Original text and word study

Cross references