No, I don't think they will. Do you think Israel will be safe after they eliminate Hamas? Someone else will take their place. The Palestinians will just produce more Palestinians.
If they can buy themselves "safer" conditions for Israeli citizens for 10 or 20 or 30 years, then it's mission accomplished. It will take many years for some new organization to create the infrastructure and army that Hamas
had created. Most of it is gone now.
And maybe one of those new Palestinians will be able to convince the other Palestinians of the folly of thinking that more rounds of violence will improve the lot of Gazans/Palis. Like Egypt and soon Saudi Arabia, they realize that living peacefully with their neighbours is their best way of moving forward. They need an intelligent and pragmatic leader and hope that he doesn't get assassinated.
Do you think that Egypt and Saudi Arabia are wrong to take an approach of peace toward Israel?