What makes you think Germany didn't do well with renewables? This almost looks like a hockey stick graph: https://www.umweltbundesamt.de/en/topics/climate-energy/rene...
"The energy transition will require considerable added investment. Estimates of the total amount of annual investment vary from 15 to 40 billion euros, or 0.5 to 1.2 percent of Germany’s current gross domestic product (GDP) of around 3,200 billion euros."
https://www.cleanenergywire.org/factsheets/how-much-does-ger...