Organized religion mostly slowed science by policing ideas that threatened doctrine. From Galileo to evolution, progress often had to fight its way past the pulpit.
That's the cartoon version. Universities, hospitals, and most early science were funded and staffed by the church—Mendel, Lemaître, Copernicus weren't fighting the pulpit, they were the pulpit.