.
The Earth didn’t “become” without form and void.
It was a part of the creation process described in Genesis for a large (two light-year diameter) sphere of water to exist, without form and void, before forms were created.
.
Your foolish question is just another attempt to change the word of God, IMO.
Please do not attempt to engage me in pharisaical manipulations of the word.
.
How old is the earth?