 And he wrote it to, I think, convince the followers of John the Baptist that Jesus was the Messiah. John had said he wasn't. These things have been written so that you might know that Jesus is the Messiah. That's the second to last chapter of the gospel.