Don't despair, Spurious. Religion ruled the earth for almost two thousand years. Science has only been with us for about five hundred, and look at all it has accomplished. Perhaps you are an American of my generation and you were dazzled by the great intellectual revolution of the 1950s, 1960s and 1970s, which was fueled by the Cold War. Math majors got dates, rock and roll songs were written in 11/4 time, and religion was perfunctory everywhere except the Redneck states.
This was not typical of the Age of Science and it could not last. The Religious Redneck Retard Revolution started in the late 1970s and the pendulum has swung back, with an RRR in the White House. But science marches on as it always has. Europe is not caught up in the RRRR and most Christian countries continue their modernization into secular societies. Science has never depended on the active support of more than a tiny segment of the population.
The real threat to secular civilization today is Islam, and it is such a horrifying threat that its impact on science is hardly worth mentioning. Yes, the religion of the people who kept European learning alive during the Dark Ages of Christian supremacy. All things change.
It is worth noting that the development of Islam has been tracking fairly steadily at half a millennium behind Christianity since its inception. Many scholars see the current upheaval in the world Islamic community as the beginnings of its Reformation: a revolt against formalized religion and a return to an individual connection with scripture, including a renewed emphasis on evangelism. The Christian Reformation plunged Europe into a period of violence and destroyed the two civilizations of the New World. But it also made possible the Enlightenment and the Renaissance. And the birth of science.