Since, as you claim, they are refugees they have no country. They have a city, though, Gaza and they held elections and chose Hamas.
If only they had accepted that land that was offered to them in 1948, it would be much different. They would currently have a country of their own. Even if they felt that it was not a fair deal, history shows they should have taken it and they would not currently be refugees. It was because of that decision in 1948 that you are asking this question 76 years later.
This is factual history, not speculation.