This is proven false by the existence of the West Bank, where is there no Hamas and there's still a war. Who is fighting the war there?
In case you're commenting in good faith and genuinely don't know this, "Do you condemn Hamas?" refers to a pattern in media interviews from the earlier days of the holocaust. The interviewer would simply ignore what the interviewee said and repeat "Do you condemn Hamas?" until the interviewee answered with a boolean, at which point the interview was over. No discussion was allowed. You either support everything Israel is doing (boolean true answer) or you are a terrorist (boolean false answer). No nuance allowed. No debate allowed. No facts allowed.
There is a lot whole lot of violence in the West Bank, no carpet bombing or tens of thousands of casualties, though. That makes it extremely different.
In case you're commenting in good faith and genuinely don't know this, "Do you condemn Hamas?" refers to a pattern in media interviews from the earlier days of the holocaust. The interviewer would simply ignore what the interviewee said and repeat "Do you condemn Hamas?" until the interviewee answered with a boolean, at which point the interview was over. No discussion was allowed. You either support everything Israel is doing (boolean true answer) or you are a terrorist (boolean false answer). No nuance allowed. No debate allowed. No facts allowed.