A massive part of modern military operations, including cyberwarfare, is the understanding that a battle happening in someone else's territory is better than one happening at home. Or, more prosaically, "the best defense is a good offense".
Offensive cyberops help us identify when our own systems have been breached and give us valuable information about future attacks, even before you get into the very real physical warfare happening in Ukraine.
Every day it seems more like these guys are _actually_ working for the Russians