Prosperity through Hamas? Only for a select few who live in other countries. With the amount of aid and money thrown at Gaza, any third rate politician could have achieved prosperity if only they were genuinely in it for the good of the people.
Hamas didn't, because their priority doesn't lie in the welfare of the Palestinian people but in the eradication of Israel.
(and potentially not even that: there are more billions to amass while living in the safety and comfort of some emirate when the situation on the ground remains volatile and the Palestinian people miserable. In that case, Palestinians don't even have a "way out" of their misery by completing Hamas' mission, because their misery _is_ Hamas' mission.)