People weren’t as ignorant back then as you think. They had very good reason to reject heliocentrism, namely that constellations don’t grow and shrink in size as the earth moves around. That, they said, would require the universe to be unimaginably big and empty, much more so than any other observation they could make at the time would suggest.
If you have the time, I recommend reading Pliny’s Natural History. I think it really shows how much more open-minded these people were than we give them credit for. They just didn’t have the technology we have.
Another reason many people rejected heliocentrism was that you could get excommunicated (or worse!) if you professed to accept it.
Tell that to Giordano Bruno.