Good day, Luigi!
The clue to understanding why Jesus will say "I never knew you," is found right in the context. Below is the scripture:
"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. 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?’ Then I will tell them plainly, ‘I never knew you. Away from me, you evildoers!’ "
When they find out that they cannot enter into the kingdom, their response will be "Lord, Lord, did we not prophesy in your name and in you name drive out demons and in your name perform many miracles?"
Their own response reveals why they won't be able to enter in, which is because they will have been trusting in their own works for salvation. They demonstrate this by saying "Did we not." The will of the Father is for us to believe in His Son. We are saved by grace through faith and this not by our own efforts. The right answer would be "Lord, Lord, did you not shed your blood for us?" Of course, if they believed that, then Jesus would be saying to them to depart from Him.
Therefore, if anyone is trusting in anything other than the shed blood of Christ as means of obtaining eternal life, they will not be able to enter in.
The clue to understanding why Jesus will say "I never knew you," is found right in the context. Below is the scripture:
"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. 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?’ Then I will tell them plainly, ‘I never knew you. Away from me, you evildoers!’ "
When they find out that they cannot enter into the kingdom, their response will be "Lord, Lord, did we not prophesy in your name and in you name drive out demons and in your name perform many miracles?"
Their own response reveals why they won't be able to enter in, which is because they will have been trusting in their own works for salvation. They demonstrate this by saying "Did we not." The will of the Father is for us to believe in His Son. We are saved by grace through faith and this not by our own efforts. The right answer would be "Lord, Lord, did you not shed your blood for us?" Of course, if they believed that, then Jesus would be saying to them to depart from Him.
Therefore, if anyone is trusting in anything other than the shed blood of Christ as means of obtaining eternal life, they will not be able to enter in.