Banqiao Dam failure alone flooded over 12,000 square kilometers, killing ~30k directly then ~100k more from water contamination and famine.
Even solar still requires various minerals the extraction and processing of which has environmental impact - like tailing ponds of toxic substances that frequently leak, particularly from earthquakes and extreme weather.
But to be clear, the human and environmental impact of solar, wind, nuclear and hydro pales in comparison to that of fossil fuels.