Stopping blowing kids to pieces through indiscriminate air raids and ending apartheid would be a good start. That will cause a big recruitment problem for Hamas. Perhaps if people are given a bare minimum of dignity, if they have something to lose, I don't think they could be easily motivated to rush tanks by foot with handheld IEDs like in Saving Private Ryan.