"Science," of course, replaced "God" as a guiding concept for many people after Darwin. Or, really, the two were rolled up into a sticky ball. To some degree this was mindless worship of a miracle future, the pursuit of which has landed us in the fix we now inhabit.
