Personally, I think the Energiewende is one of the most expensive failures ever. It cost about €500 billion in direct subsidies and indirect damage in the trillions due to lower economic growth. Not to mention the waste that was the installation of solar panels and wind turbines that were less efficient and became uneconomical to even upkeep.
And what was gained by this sacrifice? Today solar is the cheapest form of energy generation to build (even with storage and even in Sweden) and we got exactly nothing for being first.
Imagine if the Energiewende was a framework of laws and some light subsidies that allowed for an actually decentralized energy market. You sell your 10kW solar installation's power to your local farmer while you're at work and he sells you the power from his combo natgas and biogas reactor at night. All proceeds from this tax-free with no bureaucratic BS and guaranteed access to your local grid. Pretty soon there would have been small towns that were net exporters and the system would be extremely resilient.
Instead, because of lobbying by the privatized monopoly companies but mainly because politicians are allergic to self-orgazing and self-regulating systems (they cannot imagine them and they resent that they don't need their involvement) we got high prices, centralized and fragile generation, communities opposed to wind turbines because they did not see any benefits.