Dam removals have multiple factors behind them, from pure economics (cheaper to remove than repair) to environmental -- restoring fisheries: https://en.wikipedia.org/wiki/List_of_dam_removals_in_Califo...
We need all the non-carbon power we can get, and it's a shame to remove existing power sources but as electric power is eminently fungible, that loss can be mitigated with other sources.
Meanwhile, efforts to modernize the US electric grid have been stalled by Red states that are ideologically opposed to renewable power. There's plenty of potential power to be generated that is hamstrung by that resistance (pun intended).
Maybe other people are thinking about different dams, but the ones that were in the news semi-recently for being dismantled were producing something like five wind turbines worth of energy. China has built five turbines in the time it took you to read this comment.