Religion will ebb and flow with time and historical events. It's pendulum that can swing in both directions. We are in an age of scientific mastery but our growth as a species will not always be smooth. We are one global financial collapse away from an entire generation growing up in strife without a decent education leading many to fall back on the crutch of religion. It may not happen in our life times but society will reset many times before it's all over.