I would disagree, I think that plentiful affordable energy has been a huge benefit to the human race. Transportation, refrigeration, manufacturing, simply having electricity in the home, most everything we take for granted in terms of our current standard of living traces back to abundant and cheap energy.
But there is no reason to hang on to the old, dirty technology if there are now better alternatives. And if the economics work, the market will follow, as it seems to be doing. You can't fake lower costs.
Nuclear should have replaced coal decades ago but the economics didn't actually work, even though the environmental benefit would have been real.