Nothing is perfectly safe. Hydro dams fail. Wind turbines throw ice. People fall off roofs installing solar.
But 8 million people per year are killed by particulate emissions from normally-operating fossil and biofuel combustion plants. Nuclear, wind, solar, and hydro are all orders of magnitude safer ways, per TWh generated, than the dominant worldwide sources. Therefore we should replace fossil and biofuel with nuclear, wind, solar, and hydro.
Conveniently, those 4 are also very low carbon, so they prevent climate change along the way.
[1] https://www.who.int/health-topics/air-pollution#tab=tab_1
[2] https://ourworldindata.org/safest-sources-of-energy