So, no, science never said the Earth was flat. That was a popular (as in held by most of the population) concept -- much like intelligent design today...
What bogus crap!
The myth that Christians in the Middle Ages thought the world was flat was given a massive boost by Andrew Dickson White's weighty tome The Warfare of Science with Theology. This book has become something of a running joke among historians of science and it is dutifully mentioned as a prime example of misinformation in the preface of most modern works on science and religion. The flat Earth is discussed in chapter 2 and one can almost sense White's confusion that hardly any of the sources support his hypothesis that Christians widely believed in it. He finds himself grudgingly admitting that Clement, Origen, Ambrose, Augustine, Isodore, Albertus Magnus and Aquinas all accepted the Earth was a globe - in other words none of the great doctors of the church had considered the matter in doubt. Although an analysis of what White actually says suggests he was aware that the flat Earth was largely a myth, he certainly gives an impression of ignorant Christians suppressing rational knowledge of its real shape.
You are the modern version of a illiterate flat earth mind set, spreading/repeating nonsense, that truly literate people know is false.