John 3:19-21 King James Version (KJV)
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.
20 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.
John 3:19-21 Amplified Bible, Classic Edition (AMPC)
19 The [basis of the] judgment (indictment, the test by which men are judged, the ground for the sentence) lies in this: the Light has come into the world, and people have loved the darkness rather than and more than the Light, for their works (deeds) were evil.
20 For every wrongdoer hates (loathes, detests) the Light, and will not come out into the Light but shrinks from it, lest his works (his deeds, his activities, his conduct) be exposed and reproved.
21 But he who practices truth [who does what is right] comes out into the Light; so that his works may be plainly shown to be what they are—wrought with God [divinely prompted, done with God’s help, in dependence upon Him].