Biblical spiritual darkness is always related to sin. The ten commandments and Jesus's commentary them help us to understand that sin is not only the things we do, ie adultery, murder and stealing, but even our attitudes of our heart, ie hate, lust and unforgiveness. The problem is that we will be judged. But God in His love has provided His own Son, who was innocent of sin, to be our substitute.
This is important because the bible says "The wages of sin is death, but the gift of God is eternal life through Jesus Christ our Lord".
He has shattered the wall of sin with His own death, are you willing to turn from your sin and embrace His forgiveness. The best thing to do is humble yourself before Him and allow Him to lead you to this fountain of Living water.