How did the Enlightenment lead to a more secular outlook?

How did the Enlightenment lead to a more secular outlook?