You don't need to compare the military forces. You can compare the casualties on both sides or, for a different perspective, you might count the civilians killed inside their own territories (you might count the West Bank if you really want accurate numbers).
Forced displacement is also considered a war crime and, considering what is happening in Gaza and at the West Bank, it would qualify as genocide as well.