If we walk in darkness, we cannot say we have a relationship with the God of light. Thinking we can sin without it affecting our fellowship with God is a lie. But when we walk in the light, we see God. If we are honest about out sin, He will purify us.