It wasn't. But, if you look at it, history is on the side of Israel. I don't recall any terrorist attacks done by Israel, but I do recall at least a dozen done by hamas.
Also, there were 0 (zero) jews in Gaza for the last 20 years or so.
In any case, the question wasn't about history. It was about specific situation that requires specific decisions. Yet you deflected the question entirely. While, at the same time, showing lack of historical knowledge. Saddest thing here is that I'm not surprised anymore to get "answers" like these from people like you.