The Israelis won't be flattered by such a comparison, but it is uncanny how many similarities there are. However, I think we are wading into dangerous waters and it's best to stick to facts and the military stuff or else I can see this spiraling out of control into a big bowl of political and nationalistic mess if we continue down this road much further.
Not making any political statements, just noting the military similarities of the two situations.
Which leads into why Hezbollah did relatively better in the 2006 war with Israel. Even though the theatre was still small, it was significantly larger and more geographically diverse than the Gaza strip therefore offering more flexibility for the defenders. Considering the casualties and physical damage on each side I would say that it was still a clear Israeli military victory.
An infantry only force is a symptom of lacking technology. These days it means the inability or very limited ability to damage the other side to the same extent a combined arms force can or to fend off an attack. Guaranteed military loss.