It doesn't say God created the light. He merely said...Let there be light. It only says He created the heavens and the earth.
So all of Genesis 1 -- the story of creation -- is false?
Here is that story...
God said, “Let there be light.” And there was light!
God said, “Let there be an expanse in the midst of the waters and let it separate water from water.
So God made the expanse and separated the water under the expanse from the water above it."
God said, “Let the water under the sky be gathered to one place and let dry ground appear.” It was so.
God said, “Let the land produce vegetation: plants yielding seeds and trees on the land bearing fruit with seed in it, according to their kinds.” It was so.
God said, “Let there be lights in the expanse of the sky to separate the day from the night, and let them be signs to indicate seasons and days and years, and let them serve as lights in the expanse of the sky to give light on the earth.” It was so.
God made two great lights—the greater light to rule over the day and the lesser light to rule over the night. He made the stars also.
God said, “Let the water swarm with swarms of living creatures and let birds fly above the earth across the expanse of the sky.”
God created the great sea creatures and every living and moving thing with which the water swarmed, according to their kinds, and every winged bird according to its kind."
God said, “Let the land produce living creatures according to their kinds: cattle, creeping things, and wild animals, each according to its kind.” It was so.
God made the wild animals according to their kinds, the cattle according to their kinds, and all the creatures that creep along the ground according to their kinds."
Then God said, “Let us make humankind in our image, after our likeness, so they may rule over the fish of the sea and the birds of the air, over the cattle, and over all the earth, and over all the creatures that move on the earth.”
God created humankind in his own image,
in the image of God he created them,
male and female
he created them.
That is the story of God's creation! "Let there be..." is the phrase used to create.
Read your Bible and stop trying to contradict Scripture in your mind.