16 For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life. 17 For God did not send His Son into the world to condemn the world, but that the world through Him might be saved.
18 He who believes in Him is not condemned; but he who does not believe is condemned already, because he has not believed in the name of the only begotten Son of God. 19 And this is the condemnation, that the light has come into the world, and men loved darkness rather than light, because their deeds were evil. 20 For everyone practicing evil hates the light and does not come to the light, lest his deeds should be exposed.
Jason Lisle PhD writes:
"John 3:19 indicates that people would rather remain in spiritual darkness than have their evil deeds exposed. Just as Adam [the first man] tried to hide from God’s presence (Genesis 3:8), so his descendents do the same. But the solution to sin is not suppression, it is confession and repentance (1 John 1:9; Luke 5:32). Christ is faithful to forgive anyone who calls on His name (Romans 10:13)." [a]
[a] Evolution and the Challenge of Morality - Answers in Genesis