In that case making humanity from dust, "earth hangs on nothing" or "circle of the earth" are also a figure of speech, do you agree?
If not, on what basis you decide what is and what is not? If you say "based on conterporary science, based on our observation of the world", then Bible is not your perfect and highest authority, right? But you explain the Bible according to your experience and knowledge.
There is no question that the Bible writers used metaphor and figures of speech. Jesus, Himself, did so prominently. When asked by His disciples why He taught the multitudes in parables, He said ...
“The knowledge of the mysteries of the kingdom of heaven has been given to you, but not to them.
12 Whoever has will be given more, and he will have an abundance. Whoever does not have, even what he has will be taken away from him.
13 This is why I speak to them in parables:
‘Though seeing, they do not see;
... though hearing, they do not hear or
understand.’"
Standing in the Jewish Temple, He said ... "Destroy this temple, ... and in three days, I will raise it up." But He was speaking of His body.
There is an entire section of the Bible composed of poetic literature. So, the contention that everything in the Bible must be understood literally is simplistic, at best, and deceptive, at worst.
I am content to agree that the Bible doesn't speak much, if at all, about the physical shape of the world.
For me, that leaves me free to honestly consider the voluminous amount of scientific evidence that demonstrates a spherical earth.