Resorting to violence when democracy fails is different to outright rejecting democracy and going straight for violence, which is what Hamas and other Islamist terror groups in that region do. Hamas (and, I guess all Palestinians, since you're lumping them together?) have rejected political solutions to their conflict with Israel because they do not desire to coexist, they want to eject all Israeli Jews from the region, or, if possible, slaughter them. They don't desire peace. They desire war and terror and the genocide of the Jews.