One of the signs that you are walking in the light is that you are honest about having walked in the darkness.
Those trapped in sin will not normally thank you for pointing out the darkness in their lives.
Walking in the light means we pursue obedience and are honest about our remaining darkness.