So the combination having to destroy Hamas and the unwillingness of other countries to take refugees is terrible for hapless civilians.
Problem is history shows "temporary" displacement tend to become permanent displacement (AKA Ethnic cleansing) under the current settler-apartheid regime ruling Israel, so other countries understandably refrain to abet ethnic cleansing.