Let's try to stick to the one idea of light coming to the earth. Not everything the Bible says. Because the Bible itself says there are things hard to understand in it.
Photosynthesis is necessary, isn't it? And yes, I am going over the Bible, too. It doesn't mean I understand everything.
So evolutionists understand that light is necessary, don't they, for growth on the earth. We see what's around us. When I was young I appreciated sunlight, didn't know the Bible, didn't really associate sunlight with God arranging for it to reach the earth in the way it does, but I could feel the warmth and knew not to look at the sun directly.
Yet it is written that God at the beginning of life on the earth enabled sunilght to penetrate the atmosphere in a profound way. And scientists seem to say that light first began to penetrate the earth a long, long time ago, before the growth of plants and emergence of animals.