In the Genesis account, the sun and stars are created on the fourth day:
Gen 1:14 And God said, "Let there be lights in the expanse of the heavens to separate the day from the night. And let them be for signs and for seasons, and for days and years,
Gen 1:15 and let them be lights in the expanse of the heavens to give light upon the earth." And it was so.
Gen 1:16 And God made the two great lights—the greater light to rule the day and the lesser light to rule the night—and the stars.]
Gen 1:17 And God set them in the expanse of the heavens to give light on the earth,
Gen 1:18 to rule over the day and over the night, and to separate the light from the darkness. And God saw that it was good.
However, light is created on the first day:
Gen 1:3 And God said, "Let there be light," and there was light.
Gen 1:4 And God saw that the light was good. And God separated the light from the darkness.
So, from the perspective of a literal reading of this account, how is this reconciled? Is light created twice? How could there be light without the sun and stars?