Khamenei and current IRGC leadership are to be blame for this. They’re acting more against the interest of Iran than for it. It’s genuinely shocking how incompetent they are. If Iran loses Hezbollah then it’s only choice is to go nuclear, something it should have done years ago already.
If you start a fight against powers such as USA, Israel and their allies then you best have the mean to properly defend your interest otherwise you’re suicidal to start in the first place.
The proxy strategy only worked for as long as Israel was deterred by these proxy groups, now that they have called Iran bluff, I don’t see Israel stopping unless Hezbollah is serious about going all out with their offence. Anything short of that will achieve nothing.