Because they are nation states that could and did execute an instrument of unconditional surrender.....followed by a relatively benevolent occupation....including an unprecedented rebuilding plan funded and directed by their former foe.
So....the parallels to Israel v the Palestinian people (because that's clearly what Bibi is fighting) are.....pretty limited.
Bibi's approach is guaranteed to do one thing, long-term: create at least one, probably two, generations of Palestinians who hate Israel with the white hot intensity of a thousand suns. His real goal is extermination of the Palestinians, but as Hitler showed us, full-on extermination is actually tough to accomplish. It requires a full machinery of extermination. Military force alone won't get you there. So, Bibi is pursuing genocide, but not even effectively. He'll get all of the negatives of trying to genocide your opponent without the only "benefit" (your opponent no longer exists). It's not just evil, it's dumb and self-destructive. But, that's what bad actors do. Like Hamas. Great move, guys. You set in motion something that got tens of thousands of your people killed, and countless other lives destroyed/ruined. Well-done. So, fellas, how's this "campaign of genocide against our enemy" thing going for you? Seems...not so great.