And that doesn't take into account that occasionally you have to write off large inhabited parts of a country due to an accident, which really doesn't happen with fossil fuels.
The goal is to replace fossil fuels with renewable energy, and maybe eventually some saner version of nuclear power and fusion. No easy solutions there.