They're not democracies and they have a reasonably higher standard of living.

Historically, democracy mixed with high unemployment for young men is a fertile ground for radicalism (secularism or religious). This has nothing to do with Islam and everything to do with stupid people looking for purpose and to be led, and evil people looking to take advantage.