You cut that verse off too quickly. The 2nd half reads:
"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."
God won't hold you accountable for the things that Jesus performed that are not written in this book, but He will hold you accountable for the things that are written in this book.
Amen!