And the Medieval Religion, the Holy Church of Rome, was exactly that too.
That definiton of "science" is your own and very limited.
Galileo, for example, found himself not a peer, yet reviewed very harshly by peers. What if those peers had succeeded?
It is folly to seperate "religion" from science. There are many follies -- confusing the acceptability of hard expertimentally proved theory with idle or near-idle spiritual speculation is also folly.
Full knowledge of life and reality includes philosophy, "religion", hard science, math, logic, even soft science like evolutionary theory or creation theory. It is wise to include G-d knowledge when that knowledge can be shown to have a reliable chain-of-custody, and spiritiual inferences that can be arrived at by logic, hard science and math, or by deduction from reliable chain-of-custody revelation.
Galileo was a crackpot with a couple of lucky formulations.