God is light and in Him there is no darkness. John teaches us how we view and deal with our sins tell us greatly about our faith. In this passage, we see different signs in our lives that show us whether we really know God or not.
We all have failed. We all have sinned. Second chances in this world is hard to come by. But we have a God, who is rich in mercy, sees our sins and loves us unconditionally.