Re: Not just tech
German reliance on Russian fuel wasn't too clever with hindsight.
As well as the comments already made, that by lowering costs it allowed their industry to be competitive, it caused another effect that is compounding the problems they now face. Because they had seemingly secure supplies of cheap energy, it meant that the anti-nuclear lobby didn't need to push hard to get Germany to ditch nuclear. Had they had the foresight to realise that diverse energy supplies are a good thing, they'd have kept their nukes and wouldn't be in such a bad situation now.
It's a country scale version of tidying up at home. I've found that if I tidy up and actually throw anything away - I'll find out shortly afterwards that I have a use for that recently disposed of thing !