The "truth" is that the Energiewende was a wise decision from early 2000s for Germany making a case that it'd be possible to transform an industry nation to renewables and possibly export technology to other countries since we all frantically should figure out ways to reduce our carbon emissions.
Germany would be at ~80% electricity from renewables by now if the Merkel government in 2013 wouldn't have stopped it: Renewables were heavily subsidized by the German electricity customers and was so successful around 2012 that electricity prices skyrocketed; instead of finding other ways to further boost the building of more renewables while lowering electricity prices for the customers, they just stopped it. And when Merkel also irrationally decided quit nuclear energy after Fukushima even earlier (2022) and Russia quit delivering cheap gas, we're now in this pity situation in which we have to burn coal like its 1920.
So don't claim it "did not even work" because they didn't really try.