The only condition they will ever accept is when Israel ceases to exist.
Which begs the question - who's really initiating and continuing the violence? Israel has offered peace. HAMAS and its proxies like Hezbollah have rejected it every time. It should be obvious there's only one side who wants peace and one side who only wants war.
Incidentally it does work. It's just horrible. Nagasaki / Hiroshima are a fine example of forced capitulation. Now I'm not suggesting nuking anyone but the best way this ends, with the lowest future body count is someone wins decisively at this point.