John 3:19-21 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 do evil hate the light, neither come to the light, lest his deeds should be reproved. But he that do truth come to the light, that his deeds may be made manifest, that they are wrought in God.
The word ‘condemnation’ is krisis in Greek and means judgment, or basis of judgment, and not the result of it. Those who loved darkness rather than light are the lovers of sin (Job 15:16; Pro. 2:14-15; 2Pet. 2:20-22).
The ‘evil’ things they do are worthless, base things (Greek: phaulos). Those who sin hate the light because the light brings reprove (rebuke, reprimand) to their actions, and evildoers do not want to stop living in sin.
He that does truth will actively produce gospel fruit by being a doer of the Word (Jas. 1:22-27; 2:14-26; Mat. 5:16; 7:15-20) because he came to the light that his deeds might be manifest. “You shall know them by their fruits.” Mat 7:16