21 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 who is 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 in your name perform many miracles? 23 Then I will tell them plainly, I never knew you. Away from me, you evildoers! __________________
Notice some things about these false professors.
They plead their WORKS as the reason Jesus should let them into heaven. If they had said "Savior, Savior we trust in you for salvation... did not you die and shed your blood and that alone saves us? That would have been a good answer. (Of course, by the time you are already dead it is too late)
They seem to want to call His attention to the fact that they were submissive to Him as Lord as a reason why they should get into heaven. Lord, Lord they say. Once again they seem to be depending on how committed they are to Him as the reason why God should accept them, rather than looking to His saving grace.
Jesus points out that only those who do God's will get into heaven. But what is God's will? What is the main work He wants us to perform? In John 6:27 Jesus tells the people to not labor for bread but to work for the true bread of eternal life instead. So the people ask Him what work they are to do to get eternal life. They say, "What shall we do that we may work the works of God?" Jesus answered and said to them, "This is the work of God, that you believe in Him whom He has sent."
So the false professors said Lord, Lord (calling attention to their wonderful work of submission to His Lordship) Look at all our wonderful works...we drove out demons and worked miracles etc. etc. But Jesus wasn't impressed. They had failed to do the only work that God wills us to do for salvation... to believe on Christ and His sacrifice for eternal life instead of our works.
They had done all those good and moral things but had always trusted in themselves and their works for salvation so Jesus said... I never knew you. He didn't say I knew you but you failed to do enough good works so I abandoned you. He said I NEVER knew you. (You were never saved in the first place)
Finally, Since they weren't saved their sins were not covered by the blood of Christ ... therefore, He saw their sins. If only they had trusted in Jesus' death and sacrifice as the reason for salvation their sins would have been covered and they would have not been seen as sinners (workers of iniquity)
Friends, being good and moral and trying to be submissive to the Lordship of Christ and trying to do lots of good works for Jesus will not save you. You are still depending on your works for salvation. Being submissive to God and doing good deeds are great but they won't save you because you are not trusting in Jesus' sacrifice you are trusting in your morality and your willingness to serve God and do works. The only "work" that He demands for forgiveness and justification is to "believe in Him whom He sent" for salvation. If you do this you will be saved and then works will follow later but you will do them out of gratitude and not out of an attempt to earn salvation.