You realise this is entirely on those who live in Gaza and who voted Hamas in? I do not think you have a single idea how much those who live in Gaza hate Jews, especially Israeli Jews. The are happy to use their own citizens, their own kin, their own children as human shields. Not one single Gazan would give up a single hostage or say where they were being hidden. Even in Nazi Germany, some Germans helped hid/save Jews.
There is a reason why Egypt have a high wall to get Gazans out. They don't want them. Gazans are too entrenched with radical Islam, a death cult.
I think you are also forgetting that Israel handed back Gaza, fleeing the strip. Gaza was prosperous, had green and glasshouses full of flowers and oranges to sell. That was some of their main exports. They also were given billions in foreiga aid. And what did Gazand do? Voted in Hamas who stole all the aid to line their pockets while they lived in Egypt, Qatar (to name a few places) and methodically stripped Gaza of any assets while building tunnels under the strip that are more expansive than the London Underground. From day one, Gaza was lobbing missiles into Israel and have done so ever since. Gaza are the ones constantly starting wars and they have no issue using their own citizens as collateral damage. Israel warn in advance of any missiles or attacks, they also drop aid. Gaza and Hamas do not do anything to help their own, they only use them to destroy Jews.
Wake up. For Gazans, this is not and has never been about them being safe. They will use their own to rid the world of Jews and Israels.
Instead of posting on here, maybe go to your local library or bookshop and buy yourself a copy of 'On Democracies and Death Cults. Israel, Hamas, and the Future of the West' by Douglas Murray. It will answer why your question is moot, and a whole lot more.
Oh, and a reminder to those who hear chants of 'Globalize the Intifada” at these so-called peaceful protests. It absolutely means killing Jews. Not so peaceful after all.