John 20:31

31 but 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:31 In-Context

29 Jesus said to him, "Have you believed because you have seen me? Blessed are those who have not seen and yet believe."
30 Now Jesus did many other signs in the presence of the disciples, which are not written in this book;
31 but 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.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.