I mean not really? While not exactly the same, the Israeli and Russian treatment of the territory they occupied in their respective wars are similar in their complete and utter apathy for civilians. I mean Russia has been bombing hospitals and other civilian infrastructure, just like Israel (albeit with completely different amounts because again, Ukraine has a real army).
Put another way, if Ukraine had been systematically robbed of and denied the means to defend themselves like Gaza was, it'd also be in a similar situation. The critical difference here is that Ukraine is in a much better position to resist, not that Russia isn't attempting genocide. Basically Russia is looking at Israel and saying "I wish this was me", not "I'm better than that".