Hamas has good ties with everyone in the region. Having ties does not mean it's expected another country will attack Israel. It's clear from this conflict, nobody, not Iran, Egypt, or Hezbollah or Jordan or Syria will ever even get into a skirmish with Israel and Hamas has to now take that into account and direct its energy towards a two state solution and freeing Gaza from the Israeli occupation. And move on from Iran and Hezbollah which were trying to sell to the general public for all these years that they're preparing for a showdown with Israel. It turned out to be a bluff and total farce.