On that day many will 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?” And then I will declare to them, “I never knew you: depart from Me you workers of lawlessness.”—Matthew 7:22-23
Jesus said there will be many people who declare their allegiance to Him and are counting on their mighty works “in Jesus’ Name” to get them into Heaven, but who will not be allowed to enter. In fact, Jesus will say, “I never knew you, depart from Me you workers of lawlessness,” to many who call Him “Lord, Lord.”
Who will enter the Kingdom of Heaven? The verse before this passage says it will be the ones who do the will of our Father Who is in Heaven—the ones who live a life of obedience.
What are some evidences of obedience? Abiding in Him (John 15:5). Keeping His commandments (John 14:21). Confessing our sins and walking in the light (1 John 1:5-10). Loving our fellow believers (1 John 3:11-15) and forgiving them (Luke 17:3-4). Loving the Father, not the world (1 John 2:15-17) and not deliberately continuing in sin (Hebrews 10:26).
The evidence that we are known by Jesus is not that we do spectacular works in His Name. It is that our pattern of life is doing the Father’s will and not practicing lawlessness.