John 3:19-20
This is the judgement (that is the cause for indictment, the test by which people are judged, the basis for the sentence): the Light has come into the world, and people loved the darkness rather than the Light, for their deeds are evil. For every wrongdoer hates the Light, and does not come to the Light for fear that his (sinful, worthless) activities will be exposed and condemned.
The same devil that entices people into sin will use shame of exposure to keep them there. Pride for a “good” name that is tarnished pushes people to cover sin and not repent. God gets the victory, and the devil loses ground when we honestly repent and turn toward the light. God already knows where we have fallen and is waiting for us to repent so He can forgive us.