The catholic church for centuries believed the earth was the center of the universe and that the stars and sun rotated around it.
True, as this was what the best science observed back then, and why should they overhaul the whole understanding of astronomy just because Galileo said otherwise even though he couldn't prove to the church basic things like why no one is able to observe stellar parallax shifts. So at this point, it was looking more like he had an ax to grind than anything else, especially after mocking the Pope as well.
They also believed it to be flat. Anyone that said anything to the contrary was killed.
These last two points are pure poppycock run of the mill anti-catholic myths perpetuated from one generation to the next without anyone actually checking the facts. You won't be able to provide any examples of anyone being killed over this by the church or any church doctrine teaching the world is flat.
And for those saying the world is flat, they're either naive and just having fun entertaining a new idea, or trying to undermine Christianity.
