There is no clean way to produce the amount of electricity needed in the modern world. Renewables sound great, but so did nuclear... until reality set in. Don't get me wrong, nuclear is still good, just not unicorns and rainbows good like was originally presented.
We have no idea of what the actual cost is for solar as China has been dumping cheap panels on the market for years. We also have no real data on how much power is required to make them or what kind of toxic waste is involved with their manufacture. Then there's the EOL issue. Sure, solar panels can be recycled. But what is the power cost to do so? Yeah, they're made of glass, aluminum and silicon. But it's not as simple and easy to separate everything as we were told. Just like nuclear waste was not as simple to deal with. Or fly ash. In all honesty, natural gas is probably the cleanest, easiest, cheapest option for electricity.
On top of that, unless coal plants are totally decommissioned and not in use, they are burning coal 24/7 because they take hours to restart if shut down. CNG plants don't need as much time to restart, but still take time to produce power from a cold start. So even when renewables are at peak output, those fossil fuel plants are still dumping CO2
There is grid scale battery, but it's not ready for nationwide usage to replace fossil fuels. Moss Landing has been active since 2021. Since then they had to shut down at least twice for overheating issues. Then in January of this year they had a fire and had to go offline. Then the fire reignited again a month later. Clean up has been estimated to take a year. The Elkhorn battery facility had a fire in 2022 and was offline for months. It was shut down again after the Moss Landing fire and a restart was just halted earlier this month due to cooling issues.
A lot of folks point to China as a beacon of clean energy, but it's a joke. I've been to China. If you ever visit Beijing you will thank god for Nixon and his creation of the EPA when you return to the US(if that's your home anyway). Three Gorges Dam is a marvel that generates over 20 gigawatts of electricity. However I doubt the Baiji Dolphin will have much to say about it since they are now likely extinct because of it's construction. Yangtze porpoise and Chinese alligator are probably going extinct soon as well as several other animals. Then there are questions about if/when it will fail. I hope the folks who have been claiming there are issues with it's construction are wrong. But if they are not, it will be the largest loss of human life in the history of mankind and the environmental impact will be insane.
We need to keep moving forward to make electricity generation as cleanly as possible. But I really wish we'd stop acting like there is a magical way of doing so that won't have unwanted effects. As well as being honest about the drawbacks of so called renewables. Corporations lied to us about oil and coal power, they lied about nuclear, they lied about hydroelectric. Why wouldn't you think we're being lied to about solar and batteries? The sooner we know the truth, the sooner we can make the actual best decision.