Matthew 7:21-23

Not every one, etc. The Lord has shown that the entrance into the kingdom is through the "strait gate". He now shows more particularly what is needed to enter. Certain ones are described who cannot enter in. "Not every one" implies that some who say, "Lord, Lord", etc., shall enter in. Those enter that doeth the will of my Father. No one can be a citizen of the kingdom who does not obey the King. Many will say to me in that day. The great day of the Lord.

Lord, Lord, have we not prophesied in thy name? The Lord chooses out of the greatest class of non-doers to show that all such will fail of entrance. They have omitted the one thing needful, a faithful obedience.
I never knew you. "I never knew you" must be accepted in its deeper signification of "recognizing the disciples". Augustine says that for Christ to say, "I never knew you", is only another way of saying, "You never knew me".

Depart from me, ye that work iniquity. In spite of all their professions they had been evil doers. Their religion expended itself in professions and prayers. Hence, in "that day" they are commanded to depart. What it is to so depart we may learn from Mt 25:41. It is evident from this passage that many are self-deceived.
Copyright information for PNT