You know the Catholic Church didn't invent eating bread either? You might happen to find looking into history that both the word "marriage" and many of the specific traditions we still follow come from Europe in the Middle Ages. I wonder what religion those things may have come out of...
The problem with the things you are saying is that it's all based in false histories. We didn't "progress beyond" flat-earth and young earth nonsense, those are new ideas. People have known for millennia that the earth is round. The idea that we didn't know that has been specifically propagated by conflict thesis atheists to paint the religious as stupid.
en.wikipedia.org
Young earth creationism is an equally recent myth. Sure, people didn't have a good idea of the age of the earth for a long time, which is perfectly reasonable. Some thought the earth was eternal, some thought it only as old as written history. But the people who developed modern understandings of the age of the earth are people like Robert Hooke, son of a minister and sponsored by a church. Or Nicolas Steno, a Catholic bishop.
Nicolaus Copernicus had a doctorate in Catholic canon. Galileo was directly sponsored by the Vatican. The history you believe in, where scientific knowledge overwrites religion, is entirely fabricated. The Big Bang theory was formulated by a priest. The Jesuit order is all over the place in the history of both geology and astronomy, and Jesuit missions are responsible for spreading the ideas you think the Catholic Church wanted to suppress.
I say again, the conflict thesis is garbage. As dumb as it may sound, the actual timeline is that we knew the earth was old and round and not the center of the universe long before atheists had any prominence, atheists invented fake histories to make the case that religion is opposed to science, and then certain specific sects of people went with the position "ok, if science and religion are incompatible, we just won't believe in science." But that's not a long standing thing, that is the last century, as a consequence of the conflict thesis. The people who believe those things aren't even going backwards, they are inventing new stupidity than any of what previously existed. Like, religion didn't pick the fight here. The Catholic Church never opposed the theory of evolution. Gregor Mendel, the father of genetics, was an Augustinian friar. It was not "our religion says your science is wrong". The opposite is the case. People like Thomas Huxley, who actively wanted religion removed from the sciences, made evolution into a fight between science and religion. The conflict between religion and science was invented to try to discredit religion. And people like you fell for it.