Governments that work to show they’re effective receive an added benefit. Not only do they make it harder for extremists to radicalize moderates, they also undercut the ability of extremists to step in and compete with the state to offer services. Hamas’s popularity was built on the benefits it provided to Palestinians who were being neglected by the Israeli government, not on the attacks it launched against Israeli civilians. On some level, the support of the population comes down to who can provide the best services and the most protection.