I’ll ask again: What is the alternative?
Hamas's ideology is certainly opposed to Israel existing, but they are not the only Palestinians, and other ideologies can take hold and be supported by the populace (I hope). The Palestinian Authority has been working together with Israel since its founding, after all, and with all the problems it has, it still represents a model that could work, in theory, and they pursue largely diplomatic ways to gain recognition.