Of course it didn’t, they were living under Israel’s blockade, reliant on international aid with little to no hope of ever being in a free country. When there is no alternative pathway to a better life, extremism is bound to thrive.
https://www.theguardian.com/world/2023/oct/25/un-report-80-per-cent-of-gaza-inhabitants-relied-on-international-aid-before-war