2459 Now the Evangelist shows that these events are certainly true: first, from the testimony of the Apostle himself; secondly, from a prophecy in the scriptures (v 36).
2460 He does three things about the first: he mentions the credentials of the witness, he who saw it has borne witness, and this is John himself: "That which we have seen and heard we proclaim also to you" (1 Jn 1:3). Secondly, he affirms that this testimony is true, his testimony is true: "I am speaking the truth in Christ, I am not lying" (Rom 9:1); "You will know the truth, and the truth will make you free" (8:32). Thirdly..., he asks us to believe, and he knows that he tells the truth that you also may believe: "These are written that you may believe" (20:31).
Source: Commentary on John