The condition for loss by the Resistance is clear: Palestinians are ethnically cleansed further, ideally (from the Israeli point of view,) out of Palestine entirely.
How does the resistance win? It’s unlikely to be marching thru Tel Aviv, although I don’t think that’s necessarily impossible given how small Israel is and how incompetent its military at everything but aerial bombardment.
Collapse of the Settler Project: Israel currently has about a quarter million internal refugees. The settlements near the Lebanese border have been evacuated. People say Hezbollah is doing nothing or little, but in fact they’ve cause the Israelis serious problems. Without settlers, Israel cannot complete the ethnic cleansing of Palestine, plus a lot of the economy is based on settler expansion.