Then we will have to agree to disagree.
Israel's actions in Gaza fit the exact definition of genocide:
"the systematic and widespread extermination or attempted extermination of a national, racial, religious, or ethnic group."
And even if there was a law allowing this, I would question the morality of any legislation that supported the killing of tens of thousands of children.

https://israelpalestinetimeline.org/charts/
#afewthoughts