https://archive.ph/Gsw1y
Hamas didn't have prior knowledge of the festival, and partygoers were also murdered by the Israeli army. And in general flattening entire cities don't leave their habitants very keen toward Israel either. It just reinforces the cycle of aggression, which allows Israel to take more land.