Here is a few that could be helpful in respects to the last day
Jesus said,
Not everyone who says to me, ‘Lord, Lord,’ will enter the kingdom of heaven, but the one who does the will of my Father who is in heaven.
Three things are boasted of as being done by many in his name
On that day manywill say to me, ‘Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?’
Those things are left untouched, whereas the one thing pointed out by him is shown here
And then will I profess unto them, I never knew you: depart from me, ye that work iniquity. (See 2 Ti 2:15)
In the above, he says, I never knew you and for what reason ( and below also) who he will not know
A froward heart shall depart from me: I will not know a wicked person.
The apostles have pointed out saying
Acts 2:17
And it shall come to pass in the last days, saith God, I will pour out of my Spirit upon all flesh: and your sons and your daughters shall prophesy
And on the last day they which did so do mention this very same
On that day many will say to me, ‘Lord, Lord, did we not prophesy in your name,
And even as Jesus says this,
Mark 16:17
And these signs shall follow them that believe; In my name they cast out devils; they shall speak with new tongues
And again we see on the last day they are shown saying likewise
On that day many will say to me, ‘Lord, Lord, did we not... cast out demons in your name,
As well as them and doing many mighty works in his name, even as it says,
For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them.
But first it says (concernig iniquities) this
Acts 3:26
Unto you first God, having raised up his Son Jesus, sent him to bless you, in turning away every one of you from his iniquities
So to bless in turning away from each ones inquities and redeem us from all the same and purify us to be zealous of good works
Titus 2:14
Who gave himself for us, that he might redeem us from all iniquity and purify unto himself a peculiar people, zealous of good works.
And here we see they are prophesying, casting out devils, and doing many wonderful works (even in Jesus Christ name) as Jesus points out all three, and three times (as done specifically so) in his name
Matt 7: 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?
And what he would profess to them (and what for reason)
Mat 7: 23
And then will I profess unto them, I never knew you: depart from me ye that work iniquity.
Even as Paul warns to depart from iniquity here
2 Ti 2:19
Nevertheless the foundation of God standeth sure, having this seal, The Lord knoweth them that are his. And, Let every one that nameth the name of Christ depart from iniquity
As Paul can be perceived as being keenly aware of what Jesus would say at that day to many
Matt 7: 23
And then will I profess unto them, I never knew you: depart from me ye that work iniquity.
So it shows us in one, to depart from inquity and in the other they are told to depart from him ye that work it. The casting out of devils, and prophesying and wonderful works didnt seem to be the problem (these same things would be shown in them which believed) and it also says, "the gifts and callings" of God (more specifically) are without repentance, but that still wouldnt negate that it is God's will (and by his kindness) that all should come to it just the same.