“But these are written, that ye might believe that Jesus is the Christ, the Son of God; and that believing ye might have life through his name.”
King James Version (KJV)
20:31 But these things are written that ye may believe - That ye may be confirmed in believing. Faith cometh sometimes by reading; though ordinarily by hearing.
Joh 20:31 But these are written, that ye might believe that Jesus is the Christ, etc. This is the object of all the gospel histories. They aim to so reveal Christ as to produce faith in him. He is the one object of belief. He is the Christian's creed. Faith in him, a faith that takes him as the Christ, saves the soul. All who have such faith wrought by the word of God will "have life through his name".