Calling Hezbollah more capable than Iran is absurd. Hezbollah is largely a front for the Quds Force in the region.
It's far easier to fight an actual country than it is to fight a militant organisation that blends in with the civilian population. The Iranian armed forces and IRGC wear uniforms, use actual sophisticated military equipment which requires extensive infrastructure and has to be housed in facilities for this purpose. These targets are naturally much easier to track & hit than a bunch of people dressed civilian clothes who build some makeshift rockets at the cousin's garage, fire them from a schoolyard and then hide the rest at the local marketplace before milling around at the town mosque while the heat dies down.
Further Iran's strategic capabilities and command and control were significantly degraded prior to this war through their proxy war with Israel. Mostly during the 12 day war and the 2024 thing but it's been ongoing for years with strikes targeting missile launchers, headquarters and assassinations.
That's not to say this war would've gone differently had it happened in a vacuum without the retarded proxy war, it would've gone more or less the same, but the destruction that Iran could've been able to inflict in retaliation would've been substantially higher.