John 3:20

18 He that believeth on him is not condemned: but he that believeth not is condemned already, because he hath not believed in the name of the only begotten Son of God.

19 And this is the condemnation, that light is come into the world, and men loved darkness rather than light, because their deeds were evil.

For every one that doeth evil hateth the light, neither cometh to the light, lest his deeds should be reproved.

21 But he that doeth truth cometh to the light, that his deeds may be made manifest, that they are wrought in God.

22 After these things came Jesus and his disciples into the land of Judæa; and there he tarried 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