Genesis 1 King James Version (KJV)
1 In the beginning God created the heaven and the earth.
2 And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.
3 And God said, Let there be light: and there was light.
I'm a high school dropout who spent decades abusing drugs and alcohol and I know more about the Universe we live in than your ignorant 'god' or bible.
There was no earth before heavy elements. There was no heavy elements before stars. The sun is a star.
The Earth was not created in the dark you inbred fuckwits.