It takes a lot of mental gymnastics to completely ignore the historical context of these two conflicts. There is no question that Russia's war in Ukraine is a proxy war against the West - they say so directly by justifying it as a defense against "NATO encroachment" and making demands that the Ukraine can never, say, join the EU.
Israel should be sanctioned because of the war crimes and the genocide perpetrated by their government, I agree, but that's a different thing.