Cart, horse....
Beirut? How many times was Lebanon invaded by Israel? Hezbollah came to power the same way Hamas did, in reaction to aggressions.
...
Israel invaded southern Lebanon explicitly because of terrorism using Lebanon as a safe harbour. Iran used this to violate Lebanese sovereignty by setting up a non-governmental military that has control over Southern Lebanon.
p.s. In your normal double standard, I see you don't mention the Syrian invasion of Lebanon which started well before Israel' and lasted much longer.