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.
And if any man sin: Is this a contradiction of the command he has just given? John says, "Do not sin," and then immediately follows it with, "And if any man sin." It is not a contradiction but a statement of fact. He lets us know that it is wrong to sin yet allows for the fact that we probably will sin. If so, provision has been made for that eventuality. Some scholars say that it should read, "When you sin," instead of "If you sin."