Your argument was not facts vs poetry. It was that the bible was full of contradictions.
Here is more on the issue of the “foundations of the earth”. It may be more comfortable to see it as some sort of elephant holding up a flat plane. For believers it is a promise and for unbelievers it is a judgment.
Revelations tells us more about the foundations of the earth. It is about God’s saving grace for those in the book of life and for the condemnation of those not in the book of life. These things are unchangeable from the foundation of the earth:
Revelation 13:8
And all that dwell upon the earth shall worship him, whose names are not written in the book of life of the Lamb slain from the foundation of the world.
Revelation 13:7-9 (in Context) Revelation 13 (Whole Chapter)
Revelation 17:8
The beast that thou sawest was, and is not; and shall ascend out of the bottomless pit, and go into perdition: and they that dwell on the earth shall wonder, whose names were not written in the book of life from the foundation of the world, when they behold the beast that was, and is not, and yet is.