But how is it a good thing though. It's really not a simple "solar > coal". Solar has its own set of downside. And solar supply chain is heavy on fossil fuel right now, so you may have the same burning of coal behind the scene to make that solar energy. I've read reports where it was actually worse than directly burning the coal.
Some people wave solar and wind like it's some miracle no-impact tech. It's heavy duty tech that impacts the environment at every step of its lifecycle, and for which even CO2 emissions are not a clear winner once you look at the full picture.