John opens the letter with what was from the beginning, what they have heard, seen with their eyes, looked upon and touched with their hands concerning the Word of life. That life was made manifest, and they saw it, testify to it and proclaim it: the eternal life that was with the Father and appeared to them. They proclaim what they have seen and heard so that their readers may have fellowship with them, and that fellowship is with the Father and with his Son Jesus Christ. They write these things so that the joy of all may be complete (vv. 1-4).
The message they have heard from Jesus and proclaim is that God is light, and in him is no darkness at all. If we say we have fellowship with him while we walk in darkness, we lie and do not practice the truth. But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus his Son cleanses us from all sin (vv. 5-7).
If we say we have no sin, we deceive ourselves and the truth is not in us. If we confess our sins, he is faithful and just to forgive us our sins and cleanse us from all unrighteousness. And if we say we have not sinned, we make him a liar and his word is not in us (vv. 8-10).