وَٱلْأَرْضَ فَرَشْنَـٰهَا فَنِعْمَ ٱلْمَـٰهِدُونَ Qur’an Az-Zariyat (51:48)Wa a lar d a farashn a h a faniAAma alm a hidoon a
I.e., in accordance with the requirements of the living organisms that were to - and did - develop on it.
The globe was spread out to accommodate Allah’s creation. The spherical shape of the earth is expressed in 39:5.