Both governments may be but there isn’t a power balance between the two in any appreciable way nor in a civilian casualty balance, especially concerning children casualties.
You see this reflected in the huge number of children killed by Israel and minimal child casualties killed by Hamas. Israel is committing genocide while Hamas is resisting occupation and the stats make that crystal clear.