tbf, the USSR fought the Nazis mainly because they didn't have much choice after Nazis turned on them a little while after they'd teamed up with those ideological enemies to invade Poland, so it's not like they hadn't put the effort into being on the wrong side of history :)