That you invoke the historical example of the Nazis seems interesting to me. World War 2 is the most devastating war in human history. About 3% of the global population died in that war. You may think Hamas is that frightening but I think this level of destruction is not proportionate to the actual threat imposed by Hamas.
Instead I would like to invoke the historic example of the IRA. Another resistance group that did horrible acts of terrorism, causing countless civilian civilian casualties. IRA was not defeated militarily, instead the Catholic population of Northern Ireland were granted equal rights, and the system of oppression was dismantled.
Israel seem very reluctant to even consider a peaceful solution as an option. So far in the current conflict peaceful solutions has save over a 100 hostages, military options has saved a single hostage (and killed at least 3).
The point with these three goals you—and Israeli officials—claim, is that they are vague or unachievable. Genocide is hardly ever stated as a goal, instead it is hidden by a rhetoric such as these. Particularly the promise of security.