Jeremiah 4:23-28 is an explanation by God of what happened at Genesis 1:2.
Jer 4:23-28
23 I beheld the earth, and, lo, it was without form, and void; and the heavens, and they had no light.
24 I beheld the mountains, and, lo, they trembled, and all the hills moved lightly.
25 I beheld, and, lo, there was no man, and all the birds of the heavens were fled.
26 I beheld, and, lo, the fruitful place was a wilderness, and all the cities thereof were broken down at the presence of the LORD, and by His fierce anger.
27 For thus hath the LORD said, The whole land shall be desolate; yet will I not make a full end.
28 For this shall the earth mourn, and the heavens above be black: because I have spoken it, I have purposed it, and will not repent, neither will I turn back from it.
KJV
That is then related to what Apostle Paul taught in Romans 8:18-25 about God placing today's creation in bondage to corruption, and in vanity. Most think the creation for this present world is a perfect creation; it is not, and cannot be compared with His original perfect creation, nor the return of His perfect creation in the glory of the world to come.
Therefore, God's original perfect creation was at Genesis 1:1, and that was when He created Satan perfect in his ways (per parable of Ezekiel 28). Then sometime between Genesis 1:1 and Genesis 1:2 Satan rebelled in coveting God's Throne, and God ended that old world. Genesis 1:2 with the earth covered with those waters represents God's destruction of that old world. From Genesis 1:2 forward, is God's setting up this present world earth age that is ordained to be destroyed.