I have written these things to you who believe in the name of the Son of God, so that you may know you have eternal life.
In context
11And this is the testimony: God has given us eternal life, and this life is in his Son. 12Whoever has the Son has life; whoever does not have the Son of God does not have life. 13I have written these things to you who believe in the name of the Son of God, so that you may know you have eternal life. 14And this is the confidence we have before him: that if we ask anything according to his will, he hears us. 15And if we know that he hears us—whatever we ask—we know that we have what we have asked of him.