If Israel is unwilling to budge and do what much of the international community has been calling them to do for years, which is stopping the blockade, stopping the apartheid conditions, and working towards a two nation solution, nothing will change.
If Israel is set on trying to root out Hamas and the resuming the status quo of what went on before the most recent attacks they will only fuel the monster they've contributed to creating in Hamas. If not in the form of Hamas, then in whatever steps in to take it's place.
Unless Israel plays a large role in any solution in a form that is collaborative and non-oppressive then the cycle will likely continue. You can't continue to blockade the Palestinian people in what's often been called the world's largest open-air prison, control resources such as power, water, fuel, and food, continue to encroach upon and annex territory, desecrate places of worship, and then not expect resistance or retaliation of some kind.