You're probably thinking of the Bible's words in John 3:19: "This is the verdict: Light has come into the world, but men loved darkness instead of light because their deeds were evil."
What do these words mean? They refer to the fact that most people in Jesus' time rejected Him and turned their backs on Him. He was the Light, sent from God to show us the way out of our spiritual darkness; as Jesus said, "I am the light of the world. Whoever follows me will never walk in darkness, but will have the light of life" (John 8:12).
And yet most people refused to believe in Him, because they wanted to continue in their old sinful ways rather than turn their lives over to God. As a result, they allowed Him to be crucified, and because of their evil ways they continued to live in spiritual darkness. Tragically, this still happens today.
I'm thankful you don't want to live in spiritual darkness -- and you don't need to, because Jesus Christ -- who was God in human flesh -- has come into the world. Why did He come? He came to erase the barrier that separates us from God -- a barrier caused by our sin. Don't look in the wrong places, but by faith turn to Jesus Christ and open your heart and life to Him. Only He is "the true light that gives light to every man" (John 1:9).