According to the Buybull the Earth existed before light. We are star stuff that burned out billions of years before Earth even existed.
The Sun is created after the Earth, along with the stars, and the Moon is it's own light.
according to science the earth is older than the sun.
the sun is younger than earth, the earth is older than the moon.
here's why,
the earth is older (water samples) than the sun (final stages of a t-star) & the moon (rock samples from astronauts).
earth was a water planet before it became a water & land planet (via plate tectonics).
regarding light (photons) & the earth (matter) existing prior to light:
the timeline from science & the bible is...
first,
according to science (nasa & cosmologists) was light first or matter?
matter was first.
what is matter?
matter is, hydrogen, helium, lithium, beryllium, boron (at the very beginning of universe)
what is light?
light is a photon, photons are both particles (of matter) & waves
the sun is matter. which produces light. see the order?
matter first then light.
no matter no light.
the sun is mostly hydrogen & helium with traces of oxygen, carbon, nitrogen, silicon...the reactions of these elements (matter) produce light
http://hyperphysics.phy-astr.gsu.edu/hbase/tables/suncomp.html
light begins after creation, darkness (dark energy & dark matter) then light (see link below from nasa)
energy first then matter, matter is made from energy, energy is the basis of matter.
the universe is/was dark energy then dark matter, they existed before light
light separates from darkness — by nasa
dark energy & dark matter,
http://jwst.nasa.gov/firstlight.html
light separates from darkness,
http://map.gsfc.nasa.gov/media/080998/index.html
light separates from darkness — by the bible (written 5000 years prior to nasa)
"In the beginning, God created the heavens and the earth. 2 The earth was without form and void, and darkness was over the face of the deep
"And God said, “Let there be light,” and there was light. 4 And God saw that the light was good. And God separated the light from the darkness." <--- see the order? matter was already created then light came later.
(esv genesis 1:1-4)
& possibly all electromagnetic spectrums of light, radio, radiation, microwave, infrared, ultraviolet, visible...
the sun & moon,
since we know light had already been created these 'other' visible lights arrive later in creation's timeline,
"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. 17 And God set them in the expanse of the heavens to give light on the earth."
regarding the sun, God made matter, one which was turned into a sphere made mostly of hydrogen & helium with traces of oxygen, carbon, nitrogen, silicon...a nuclear reaction took place which produced light to rule the day...
& now a word on orbits,
notice the bible says, "And God set them in the expanse of the heavens to give light on the earth"
the hebrew word 'set' is 'natan' — means 'to assign'
'and God assigned them (the sun & the moon) in the expanse of the heavens to give light on the earth'
the mass of matter & the force of gravity at work — orbits — presto!
notice the orbit around the sun came later after the creation of planet earth. 'natan' ('assigned' or 'set' to an orbit), the earth was pulled into the sun's orbit.
the truth,
contrary to popular belief, the first divine creation was NOT the universe — it was wisdom — sooner or later the scientific community will realize this fact, non-material existence prior to material, non-material before nature:
the beginning of creation, wisdom was first.
non-material laws which existed before the creation that would govern the universe.
like laws physics, logic, mathematics...
regarding wisdom,
"When he established the heavens, I was there;
when he drew a circle on the face of the deep,
28 when he made firm the skies above,
when he established the fountains of the deep,
29 when he assigned to the sea its limit,
so that the waters might not transgress his command,
when he marked out the foundations of the earth,
30 then I was beside him, like a master workman,
and I was daily his delight,
rejoicing before him always,..."
proverbs 8
the laws of physics
scientists can further drill down into the biblical hebrew & greek texts of genesis, psalms, job, john, hebrews... for further details of creation, our world, for example, 'empty void' 'without shape & dark' 'surface of the deep' 'darkness was' 'water' 'breath of God' 'what is made is made from things not seen'... the bible is unique in this respect, no other book is like this.
soooooo class... God's love first to freely create us, his mind, then wisdom (the laws to control nature/creation), ok now the creation of dark energy & dark matter before light not the reverse.
moses to scientists, 'youre welcome'
ooooorrr, you can believe everything came from nothing, unguided, undesigned, without knowledge, without laws, by chance. presto, magic!
peace