Precisely - depending on the time frame.
On the long run, since we’re trying to focus on the topic at hand. Do you think Lebanons Hezbollah or Gazas Hamas is going to wipe out Israel from the map?
I’m thinking no. They can hit, and run. But Israel is here to stay.
Yes and no. From purely military point of view neither Hamas nor Hezbollah are even in the same weight category with IDF (to this day BTW it boggles my mind all kind of western "experts" doubting IDF capacity to deal with Hamas at the beginning of the war).
However. Without going into specifics, if 7/10 type of attack was conducted from the West Bank, it wouldn't be a few Kibutzes and military bases in the Envelope... it would be the Tel Aviv metropolis, Kirya (Israel Pentagon) etc - an
entirely different type of event. Not a hyperbole, not a fantasy, 100% possible scenario. The only things, which prevents this possibility becoming actual reality is the Israel control of the West Bank (via both military and settlements). This is BTW the main reason, why no one in Israeli politics, from right to left, is talking about settlement evacuation as part of
any future political solution even as a theoretical possibility.
Hezbollah is a little bit different story. The job of Hezbollah, apart from being de-facto Iranian occupation force in Lebanon, is to serve as an insurance, a weapon of last resort (a kind of Cold War MAD logic) against possible Israel/Western attack against Iran, with all their 150K missiles and rockets pointed against our cities. Hezbollah is also more than capable for 7/10 type of attack in the north, this is why the war in Lebanon is 99.9% certainty at this point (I leave 0.1% for some political miracle I can't really imagine now). The only scenario, in which Hezbollah could represent anything resembling existential threat, is if they were part of coordinated attack with Hamas (both in Gaza and WB) and Syrian militias - a simultaneous attack on all four fronts. Alas, now, that half of IDF is in the north, they missed the opportunity...