All these attacks of religion from the point of view of science or intelligence fail to acknowledge the fact that it (religion) fulfils basic human psychological needs - such as the need for purpose and meaning, the need for structure and ritual, or the need for social cohesion - which science (rightly) does not give a shit about.
Science is not about those things, but those things are basic human needs (as abundantly demonstrated by the large populations of believers). So why oppose science to religion, when science is sure to lose on the sine-qua-non criteria of providing for those basic needs?
Instead, if one wants to "defeat" religion, something else should be opposed. Perhaps a better kind of religion, that fulfils these basic human psychological needs without all the superstition and the side-effects.