Indeed did #science have to deal with primitive primitive silly, childish, ridiculous beliefs of the folks living at those times. It struggled and overcame, resulting in current day science, which is the exponent of objectivity in a never ending search for knowledge.
Discussion
Those days when the church came in contact with science:
https://www.historyhit.com/1600-philosopher-giordano-bruno-becomes-martyr-modern-science/
https://www.history.com/news/galileo-copernicus-earth-sun-heresy-church
Yes indeed. Science is amazing at discovering and describing the amazing universe that God made and that we live in.
"The impossibility of conceiving that this grand and wondrous universe, with our conscious selves, arose through chance, seems to me the chief argument for 
the existence of God."
Charles Darwin