"The Bible itself (Is 40:22) says that the Earth is round, which means anyone who believes otherwise is, as it were, a heretic."
The Bible has a lot of interesting things to say about a lot of stuff. I don't take it for a scientific treatise. The Catholic Church, however, did exactly that for centuries. Anywhere they had the power to, they murdered people who did not. You know, because they were heretics. The Catholic Church was not antagonistic toward learning; you were free to learn as much as you wanted about what the church believed. It got so bad, in fact, that many people left the church, seeking the freedom to oppress people who didn't believe their dogma.