However, after G-d gave us the Torah, we sinned, and our sins brought darkness to the world. Once we finish refining the world and reveal G-d within ourselves, G-d will shine his light upon the whole world.