A lot of other European countries depended on Russian gas. Some even more than Germany. That’s not the main reason for the slow recovery from COVID and the energy crisis. Germany let a lot of it’s infrastructure rot and is now facing the consequences. Additionally there are ideological debt restrictions in place, hindering the government to start a stimulus program, while a lot of other countries are doing exactly that.
Probably nothing because you can’t cheat physics.