[
Replying to Base12 in post #1]
In the beginning God created the heaven and the earth. (Genesis 1:1)
This is all that is said about the original creation of the heaven and the earth!
In Genesis 1:2, the earth is reported to have become without form, empty, and dark:
Now the earth was formless and empty, darkness covered the surface of the watery depths, and the Spirit of God was hovering over the surface of the waters. (Genesis 1:2 CSB)
So in Genesis 1:3, God returns and begins a restoration of a decimated earth to its original very good condition by turning the lights back on:
And God said, Let there be light: and there was light. (Genesis 1:3)
So the earth was originally created by God as very good; it became empty, void, and dark; and God returned and restored the earth to its original very good state and created mankind to maintain the earth in that state.
So there was a creation and a re-creation of the earth.
And there is no contradiction.