You mean according to your translation of Genesis 1:2.
But there is also the following ...
When God began to create the heaven and the earth -- the earth being unformed and void, with darkness over the surface of the deep and a wind from God sweeping over the water -- God said, "Let there be light", and there was light.
- JPS / Plaut Commentary
When God began to create heaven and earth, and the earth then was welter and waste and darkness over the deep and God's breath hovering over the waters, God said, "Let there be light." And there was light.
- Robert Alter; The Five Books of Moses
At the beginning of God's creating of the heavens and the earth, when the earth was wild and waste, darkness over the face of the Ocean, rushing spirit of God hovering over the face of the waters -- God said: Let there be light! And there was light.
- Everett Fox; The Five Books of Moses