My little children, I write these things to you so that you may not sin. If anyone sins, we have a Counselor{Greek Parakleton: Counselor, Helper, Intercessor, Advocate, and Comfortor.} with the Father, Jesus Christ, the righteous.

 His object in writing is that they may not sin. There is a two-fold connection of thought here--with what has gone before and with what comes afterwards. There is a two-fold danger that they may indeed think lightly of sin. 