What kind of 'evil' causes people to hate the light? It might not be what you first assume.
The word translated as 'evil' in John 3:20 (phaula) carries a specific nuance. It doesn't just mean 'wicked' in a grand, destructive sense. Instead, it often refers to things that are trivial, worthless, or morally bankrupt.
Think of actions that are aimless, unproductive, or simply 'good-for-nothing.' This type of 'evil' is what the person actively pursues.
The light of truth reveals the emptiness and worthlessness of such pursuits, and because people prefer to remain in their triviality or delusion, they reject the light that would expose it.