It's completely the other way around!
The perfect example is Europe, Germany as I mentioned before has spent 150 billions each year to pay for subsidies for solar and wind, the results? The most expensive energy in the world for a country that size.
Nobody here encourages fossil power plants, till...well till we need them as Europe is in an energy crisis where the only way to get out is by restarting coal powerplants that were supposed to be decommissioned and more and more gas one.
Despite what everyone says, both wind and solar are expensive as fuck, even with government subsidies. And on top of that, they can't guarantee 24/7 power, funny enough probably none of the officials in Germany knew before throwing that amount at solar panels that Germany gets the same amount of sun exposure as Alaska!!!!, an average of 3 peak hours a day!
If they would have spent all that money on nuclear energy Europe would have been now an exporter! Imagine that!
Luckily, there is still hope:
European Commission declares nuclear and gas to be green