Here’s a bit of a counterpoint to this fear; Ukraine and Russia have been in a high intensity war for two and a half years now and Russia is a leading cyber-offense power, yet Russia is resorting to flinging long range missiles at Ukrainian power infrastructure rather than cyberattacks, that suggests to me that cyber warfare is overhyped at least as technology currently stands.
Most Ukraine and Russian infra came from Soviet time, I doubt they have much digital attack surface... Most war episodes reported are similar to WWI and WWII combats, so again not much attack surface.
But do not think about an actual war on the ground, just try to image the damage you can give to another country let's say creating a cascade blackouts, than a e-payments system one and so on. Cyber warfare happen generally aside/before a "classic" war, not much during it on the frontline.