If the choice is between your own people getting kidnapped and killed by Hamas periodically, and total war, most countries will choose total war. Gaza will simply never be able to survive if its goal is the eradication of Israel, because Israel will simply not roll over and take that. Which country would?