They are installing more solar than the rest of the world combined, other renewables as well. China doesn't have oil, they don't want to depend on oil or fossil fuels, and the CCP needs to keep some kind of social cohesion by showing off to their citizens that "things are being done".
Air quality over Chinese big cities has improved massively the past 10-15 years, they will only continue doing so, it was popular.
> https://www.worldometers.info/coal/coal-consumption-by-count...
Well, well, well: https://www.worldometers.info/oil/oil-consumption-by-country...
You probably have never visited China to be able to compare how it was in the 2010s to now, right?