In one of life's little ironies, the Israelis used to take credit for "creating" Hezbollah and Hamas, as "safe" religious alternatives to Palestinian nationalism. As Tom Hayden writes:
In 1982, Israel said the same thing about eliminating PLO sanctuaries in Lebanon. It was after that 1982 Israeli invasion that Hezbollah was born. I remember Israeli national security experts even taking credit for fostering Hamas and Islamic fundamentalism as safe, reclusive alternatives to Palestinian secular nationalism. I remember watching Israeli soldiers blow up Palestinian houses and carry out collective punishment because, they told me matter-of-factly, punishment is the only language that Arabs understand. Israelis are inflicting collective punishment on Lebanese civilians for the same reason today.
From Tom Hayden's discussion here: