Einstein was not deeply religious. Care to evidence that Scientific developments are "mainly made by religious men anyway"?
Most people are religious because we're born with an instinctive bias toward belief in the supernatural. (See my earlier explanation of
archetypes.) Even today atheists only account for a couple of percent of the American population. Given that religious belief has proven not to be a major handicap to scientific inquiry despite its unscientific nature (neither has love which falls in the same category), the law of averages says that the overwhelming majority of science will be performed by religious people, as will the overwhelming majority of professional dancing or trash collection.
Nonetheless we may find some synchronicity with the myths of astrologers. The last two thousand years or "Great Year" in their model were the Age of Pisces, which according to their mythology was "destined" to be ruled by spirituality. Indeed astologers suggest that future historians will count the rise, spread and dominance of Christianity and Islam as the defining motifs of the era that is drawing to a close.
They say that the Age of Aquarius is going to have a new emphasis on rationality and that the rapid evolution of science on the cusp of the two eras is the harbinger of this. Presumably astrology itself will fall victim to the changing of the eras, but with our rational outlook we can see signs that both Christianity and Islam are engaged in battles to hold back the inexorable spread of rationality, or at least to prevent loosening the stranglehold of institutionalized spirituality. For a couple of decades Christianity at least appeared to be losing the battle. They both appear to be winning now, but their victories may be Pyrrhic. How is a re-evangelized Christian America, with a populace so illiterate in science and math that no one can make change for a dollar without a POS terminal, going to compete against un-Christian China and India? (While religion in and of itself may not be a handicap to a career in science, an education in extreme fundamentalism certainly is.) What is the petro-rich Islamic world going to do once it's dissipated all of its wealth in internecine violence to prove who was the rightful heir to Mohammed, as well as a desperate quixotic attack on "The West," and the entire region becomes synonymous with the Third World?
We are certainly at a Paradigm Shift today in terms of technology and economy, and arguably politics. Old structures are either falling or adapting to the Information Age. That shift may also include religion. Perhaps at the end of the next two thousand years era, no one will think to suggest that its scientific developments were "mainly made by religious men." They may not even know what a "religious man" is.