John 3:20

18 Whoever believes in Him is not condemned, but whoever does not believe has already been condemned, because he has not believed in the name of God’s one and only Son.

19 And this is the verdict: The Light has come into the world, but men loved the darkness rather than the Light because their deeds were evil.

Everyone who does evil hates the Light, and does not come into the Light for fear that his deeds will be exposed.

21 But whoever practices the truth comes into the Light, so that it may be seen clearly that what he has done has been accomplished in God.”

22 After this, Jesus and His disciples went into the Judean countryside, where He spent some time with them and baptized.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Everyone who does evil hates the Light, and does not come into the Light for fear that his deeds will be exposed.
KJV
For every one that doeth evil hateth the light, neither cometh to the light, lest his deeds should be reproved.
WEB
For everyone who does evil hates the light and doesn’t come to the light, lest his works would be exposed.
ASV
For every one that doeth evil hateth the light, and cometh not to the light, lest his works should be reproved.
DARBY
For every one that does evil hates the light, and does not come to the light that his works may not be shewn as they are;
BLB
For everyone practicing evil hates the Light and does not come to the Light, so that his works may not be exposed;
ÅB
For hver den som gjør ondt, hater lyset og kommer ikke til lyset, for at hans gjerninger ikke skal bli refset;
OTB
De som gjør ondt, unngår lyset, i frykt for at deres gjerninger skal bli avslørt.
B1930
For hver den som gjør ondt, hater lyset og kommer ikke til lyset, forat hans gjerninger ikke skal bli refset;

Study notes (Tyndale)

Original text and word study

Cross references