(4) It seems that, “on that day”, many – yes, many – will repeat the words that they have been saying on earth to Jesus: - “Lord, Lord”. Their question will be “did we not”. From that it seems that they are already aware of their rejection. They plead their own clear record of the things they did, on earth, “in his name”. Wonderful things: things highly beneficial to others; preaching; freeing people from their “demons”; many great deeds. All “in his name”.
(5) How “then” (at that time and in that place) will things proceed?
(6) The decision of Jesus – “then” – will be (in his own words) “said again”, repeated. Some of these “many” who have named him “Lord, Lord” on earth and who remind him “in that day” of all their good deeds “in his name” will hear that they are to “depart from” him. Why?
(7) The first reason is because he “never knew” them. “I never knew you.” It’s not that they didn’t know him. It’s that he didn’t know them. He re-states this using the past tense of the verb ‘to know’. His meaning therefore seems to be that it was in the past - when some of these “many” were on earth - that he “never knew” them then. Did not each one of them, on earth, know that Jesus did not know them?
(8) The second reason is that, according to Jesus, they had been, on earth, “workers of lawlessness”. What do you make of that? How can that be the case when they are claiming to have done “in his name” so many wonderful things for others?
To help you with this (maybe), please note that, in the Greek copies of Matthew’s biography available to us, he uses the word (anomia) translated “lawlessness” on three other occasions. On each occasion he refers to “lawlessness” as being ways of living or courses or action which have no regard for the “will” (the desire) of God the Father.
Summarising, there seems to be one simple message about residential qualifications for heaven. No entry even by calling Jesus “Lord, Lord” (even to his face) or by doing marvellous things in His name. But entry, in that day, by having become known to Jesus, while on earth, followed by having actually done, while on earth, the will (the desire) of His Father.