This is the message we have heard from him and declare to you: God is light; in him there is no darkness at all. If we claim to have fellowship with him and yet walk in the darkness, we lie and do not live out 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, purifies us from all sin.
Walking in the light is not a claim to a sinless life. Rather, it is a lifestyle concerned with God's agendas and obedience to Him. All of us sin, but confession brings forgiveness.