Read it in it's context. Read the whole thing - It is speaking to Israel and to Jerusalem. What, do you think that mid-narrative he suddenly stops and starts talking about something that happened before time? No. He is talking about what WILL come - What SHALL come to pass. The whole passage is pointing to future, not past.
“The whole passage is pointing to future, not past.”
In the passage Jeremiah is pointing to the future by making reference to a past event. “without for an void” sound familiar? read Genesis 1:2.
Which is not the way God initially created the Earth: Creating the Earth and then saying the creation is without form and void is a contradiction:
Isaiah 45:18 -
For thus saith the LORD that created the heavens; God himself that formed the earth and made it; he hath established it, he created it not in vain, he formed it to be inhabited: I am the LORD; and there is none else.