The Magnificent Lord God Almighty created and reestablished the earth , from what happened in verse 2 ( Hebrew )
It's later on another day that the sun, and moon, and stars were created. Or at least shining on the earth again.
Genesis 1:4 "And God saw the light, that it was good: and God divided the light from the darkness."
Genesis 1:5 "And God called the light Day, and the darkness He called Night. And the evening and the morning were the first day."
What does it mean then when God said, "Let there be light" here then ?
God's plan, includes you and I, and all of God's children.
The choice is choosing between the "Light", which is the Spirit of God", and darkness. Ezekiel 28:12-19 declares Satan, "the King of Tyrus", to be that darkness in the world. Then if your choice be darkness, verse 18 declares your destination after judgment: "I will bring thee to ashes upon the earth..."
God is Light. He is the light. These few scripture out of many document He is the Light spoken of there:
John 8:12
Then spake Jesus again unto them, saying, I am the light of the world: he that followeth me shall not walk in darkness, but shall have the light of life.
John 14:6
Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me.
2 Samuel 22:29 For thou art my lamp, O Lord: and the Lord will lighten my darkness.
Nehemiah 9:11-13
11 And thou didst divide the sea before them, so that they went through the midst of the sea on the dry land; and their persecutors thou threwest into the deeps, as a stone into the mighty waters.
12 Moreover thou leddest them in the day by a cloudy pillar; and in the night by a pillar of fire, to give them light in the way wherein they should go.
13 Thou camest down also upon mount Sinai, and spakest with them from heaven, and gavest them right judgments, and true laws, good statutes and commandments:
Job 33:28
He will deliver his soul from going into the pit, and his life shall see the light.
Psalm 4:6
There be many that say, Who will shew us any good? Lord, lift thou up the light of thy countenance upon us.
Psalm 18:28
You, O LORD, keep my lamp burning; my God turns my darkness into light.
Psalm 119:105
Thy word is a lamp unto my feet, and a light unto my path.
John 1
1 In the beginning was the Word, and the Word was with God, and the Word was God.
2 The same was in the beginning with God.
3 All things were made by him; and without him was not any thing made that was made.
4 In him was life; and the life was the light of men.
5 And the light shineth in darkness; and the darkness comprehended it not.
6 There was a man sent from God, whose name was John.
7 The same came for a witness, to bear witness of the Light, that all men through him might believe.
8 He was not that Light, but was sent to bear witness of that Light.
9 That was the true Light, which lighteth every man that cometh into the world.
10 He was in the world, and the world was made by him, and the world knew him not.
etc.
All prophecies in the entire Bible that refer to God's elect, or the children of God; those that happen to be in God's will, are called "children of light". This also applies to prophecies that are given in days, or solar years. [see Daniel 12:11]
In turn, all prophecies dealing with Satan, his wickedness, and his children are given in months, or moons. Satan's children, then are called the "children of darkness", or "of the night". [see Revelation 13:4, 5] Satan is the darkness that is the negative part of God's plan. Satan was here from the beginning of this earth age ( 2 Peter 3:5-18 ; Ephesians 1:4 ; 1 peter 1: 20 ;Jeremiah 4: 21-28 )
Christ was also here, for he is the "Tree of Life". We will read of this later in the second and third chapters of Genesis. When God refers to trees in symbolism, they are persons.