These are written that you may believe that Jesus is the Christ, the Son of God, and that believing you may have life in His name.
John 20:21
Jesus said, "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.
Matthew 7:21