What was in it for Israel in the ceasefire

Netanyahu isn’t some kind of angel if anything he’s far from it. If Israel were dominating why would he sign the ceasefire? There was definitely some underlying issue, which is most likely Hezbollah destroying their vital equipment or the IDF is just tired.