Rubbish.
One part of one religion is waging an ideological war on the West. They regard Europe and the West as 'crusader' Christian lands and therefore the enemy of Allah. That's why Sweden is attacked as well as France, Britain, Spain, Germany etc.
Our foreign policy, our colonial history, the social disadvantage of some Muslims are an irrelevance.
These terrorists are not out for revenge, they are doing it for Allah and striking against his 'enemies' and our decadent unislamic lifestyle.
They're not bothered if we're 'divided' or not, 'standing strong' or 'fighting back with hashtags' - they hate what they see as our debauched, corrupt, unislamic way of life, and want to replace it with a European caliphate.
We can't keep our heads in the sand forever.