Gaza exists but as a self governing independent territory that's not apartheid. As for Gaza fighting for their survival in 2005 they were fully independent had trade and had a security agreement with Israel. They instead choose to elect a government that refused to cooperate on security with Israel and instead was openly dedicated to Israel's destruction. The Gazans not the Israelis were the aggressors in 2006. This sounds so far fetched since militarily the Gazans are so much less powerful than the Israelis and thus the war has gone badly for them, but I urge you to check the timeline.
If the Gazans want peace: recognize Israel, maintain the sanctity of their border i.e. prevent their territory from being used for terrorists attacks on Israel and that's it. Similarly with Egypt, they need to stop interfering in Egyptians internal affairs and the Rafah crossing will open. They aren't fighting for their survival they are fighting for their bigotry, their right to destroy the territory outside of Gaza. The fact that the Gazans elected a government not too far different ideologically from Al Qaeda is why their lifestyle is deteriorating. Picking a dreadful government usually results in bad consequences. If you want to call that collective punishment it is a the collective punishment that every society and culture is subject to since the beginning of time.