I don't know exactly how this compares to the situation in Israel, but I think making too quick a comparison can overlook some important facts.
I think the real problem is that, once the Russians left, we didnt attempt to exert much political influence in the region. We never targeted Al Quaida.
Hamas was funded as, at the time, a non violent alternative to the PLO, who Israel ended up fighting, along with Syria, in Lebanon. Stupid, I dont know. Id love to hear of the truly nonviolent Islamic groups operating in the West Bank at the time which could have been alternatives, I dont know any. If there was a mistake, it was allowing Hamas to turn away from their humanitarian work (which still goes on) and embracing violence. And I dont know that that was in Israels control.
While I sympathize with philosofy123s comments on an emotional level, we should also recognize that Israel and America will soon face a replay of these two scenarios.
Like it or not, Sharon and Bush have embraced the eventual creation of a Palestinian State, and unless that changes soon, it will become a fact in the next 6 to 12 months.
As in the Hamas and MAK examples, the US and Israel will have to choose a peaceful Palestinian leader and or group to work with. I dont see any, but one will be chosen nonetheless. In ten or twenty years we could well be having the same discussion about Sharon and Bushs error.