Who needs the sun when you have the Glory of God. If you would get God out of your man- box, perhaps you could fathom. In fact, we will need no sun that damages skin because we will have the Glory of God, His warmth and His light. Please look into that. The sun and moon were put here for us. Plenty of plants survive the ultimate darkness of Barrow Alaska, BTW. And my poinsettias need super darkness to bloom.
The fact is that plants (and everything else) depend on the sun because God made it that way. If He had chosen to sustain them with His Glory he certainly could have. And if they were put here for us, then what was the point of that unless we need them? Your argument contradicts itself.