The Old Testament slaughtering of the child sacrificing paganistic Canaanites was God's judgment using Israel as a tool. He could have just rained down fire and brimstone on them to do it faster, but He didn't want to do it that fast so they could have a chance to repent. There were many warnings of the impending doom. Also converting to Judiasm would also be a way to save your life back them. Much better than sacrificing babies to statues.
Technically though if you win a war over someone's land it becomes yours. Israel won two wars in the 1900s, but I guess the left has changed the playbook.
Also the Palestinians have expressed their desires to wipe out the entire Jewish population many times, but according to the leftist rulebook, that would not be considered genocide either since the Palestinians are the less powerful group and it's impossible for the less powerless group to commit racism or genocide or anything evil. To them it's called "equity" That's why Marx allowed violence to create his utopia.
I'm not saying Israel is innocent or did not provoke the October 7 attacks, but they are still considered the lesser of two evils.