Industrialized countries generally need stability when it comes to electricity. People also want to watch TV whenever they like and take a hot shower whenever they feel like it.
Pursuing an industrial strategy predicated on eternal cheap Russian gas (a strategy no doubt encouraged by Russian influence post-GDR) left Germany vulnerable to this situation. It is indeed admirable that they are willing to give it up now for principals, unlike Orban and Hungary.