One of the best things Germany ever did. We already have produced enough poison for a million years. Renewables and perhaps nuclear fusion is the future.
It's a bit absurd, what you say, like arguing that it's good to stop using a stove in your apartment and just eat food raw, because one of your neighbors already did enough bad because they burned their entire house down while trying to make a bonfire with piles of coal in their yard.
I would not advocate against having some fossil emergency backups. I think the planet can cope with a few percent of that. If this were our only concern, then we would have basically solved the problem.