The Bible described the shape of the earth centuries before people thought that the earth was spherical.
Isaiah 40:22
It is He who sits above the circle of the earth,
And its inhabitants are like grasshoppers,
Who stretches out the heavens like a curtain,
And spreads them out like a tent to dwell in.
The word translated circle here is the Hebrew word chuwg which is also translated circuit, or compass (depending on the context). That is, it indicates something spherical, rounded, or archednot something that is flat or square.
The book of Isaiah was written sometime between 740 and 680 BC. This is at least 300 years before Aristotle suggested that the earth might be a sphere in this book On the Heavens.
This brings up an important historical note related to this topic. Many people are aware of the conflict between Galileo and the Roman Catholic Pope, Paul V. After publishing A Dialogue on the Two Principal Systems of the World, Galileo was summoned to Rome, where he was forced to renounce his findings. (At that time, theologians of the Roman Catholic Church maintained that the Earth was the center of the universe, and to assert otherwise was deemed heretical.)
We could not find any place in the Bible that claims that the Earth is flat, or that it is the center of the universe. History shows that this conflict, which took place at the time of the Inquisition, was part of a power struggle. As a result, scientific and biblical knowledge became casualtiesan effect we still feel to this day.