You should read the Bible again. First line of the whole book is “in the beginning God created the heavens and the Earth.” Light came after.
Dude, you are so confused. My Bible goes: "In the beginning God created the heavens and the Earth, but before that, God created Light."
My Bible is better than yours.