Mat 7:21 "Not everyone who says to Me, Lord! Lord! shall enter the kingdom of Heaven, but he who does the will of My Father in Heaven."
BUT what about these 2 verses?
1Co 12:3 "Therefore I make known to you that no one speaking by the Spirit of God says Jesus is a curse, and that no one can say that Jesus is Lord, but by the Holy Spirit."
Rom 10:13 "For whosoever shall call upon the name of the Lord shall be saved."
Some try to say this is the Bible contradicting itself. The answer to seeing these verses in their proper light is to know the concept taught in God's word that religious people who don't know the true gospel will call upon a false christ or lord by the power of another spirit and have believed a false gospel. They actually use His name in vain. They are NOT saved.