The bible does not say any such thing. It does use phenomenological language as we all do (e.g.: sunrise) and it uses poetic language (e.g.: "ride on the clouds"), But its factual statements are all compatible with actual observations.
Your statement is typical of those who haven't read the bible and think they know about it.
The mediaeval church's hang-ups about science were because they adopted Aristotelian (Greek) thinking. If they had actually stuck to the bible they wouldn't have looked so silly.
"Love your country but never trust its government." -- from a hand-painted road sign in central Pennsylvania