Germany tried to go 100% renewables and then found out it wasn't possible, then made a deal with Russia to supply what they needed to cover what renewables couldn't. Right up until Russia invaded Ukraine:
A huge increase in gas prices triggered by Russia’s move last month to sharply reduce supplies to Germany has plunged Europe’s biggest economy into its worst energy crisis since the oil price shock of 1973.
Gas importers and utilities are fighting for survival while consumer bills are going through the roof, with some warning of rising friction.
“The situation is more than dramatic,” said Axel Gedaschko, head of the federation of German housing enterprises GdW. “Germany’s social peace is in great danger.”
https://www.ft.com/content/d0c5815f-f0a2-49ad-8772-f4b0fbbd2...
They did eventually move to get off of their reliance on Russian energy over a year later, but what they did as go back to coal and nuclear to keep the lights on after divesting from Russian energy imports:
In its race to find alternate sources of energy, the country has reopened coal-fired power plants, delayed plans to shut down its three remaining nuclear power plants, and pushed to increase capacity to store natural gas imported from other countries such as Norway and the US.
At the World Economic Forum (WEF) in Davos, Switzerland, Mr Lindner pointed to the speed with which a new liquefied natural gas terminal had been built in Germany - in a record of around eight months, he said. More infrastructure investments were planned, he added.
https://www.bbc.com/news/business-64312400