The promise of the "global war on terror" was that "it was better to fight them there than here." That promise brought mass violence to Iraq, Afghanistan, Pakistan, Palestine, Yemen and Somalia — in the name of peace in the West.

That formula has failed. Tuesday's bombings in Brussels come on the heels of similar incidents in Grand-Bassam, Ivory Coast; Maiduguri, Nigeria; Istanbul; Beirut; Paris; and Bamako, Mali — all in the last six months. Rather than containing violence, the war on terror has turned the whole world into a battlefield.

We should not be surprised. Violence inflicted abroad always comes home in some form. Last year, the U.S. military dropped 22,110 bombs on Iraq and Syria. The Pentagon says these bombs "likely" killed only six civilians, along with "at least" 25,000 Islamic State fighters. The true number of civilian deaths, though, is likely to be in the thousands as well.

Indeed, we know that the war on terror kills more civilians than terrorism does. But we tolerate this because it is "their" civilians being killed in places we imagine to be too far away to matter. There is no social media hashtag to commemorate these deaths; no news channel tells their stories.

Because we pay little attention to the effects of our violence in the places we bomb, it appears that terrorism comes out of the blue. The only way we can make sense of it is by laying the blame on Islamic culture.

When opinion polls find that most Muslims think Westerners are selfish, immoral and violent, we have no idea of the real causes. And so we assume such opinions must be an expression of their culture rather than ours.

Donald Trump and Ted Cruz have exploited these reactions with their appeals to Islamophobia. But most liberals also assume that religious extremism is the root cause of terrorism. President Obama, for example, has spoken of "a violent, radical, fanatical, nihilistic interpretation of Islam by a faction — a tiny faction — within the Muslim community that is our enemy, and that has to be defeated."

Based on this assumption, think-tanks, intelligence agencies and academic departments linked to the national security apparatus have spent millions of dollars since 9/11 conducting research on radicalization. They hoped to find a correlation between having extremist religious ideas, however defined, and involvement in terrorism.

In fact, no such correlation exists. Witness the European volunteers for the Islamic State in the Iraq and the Levant (ISIL) who arrive in Syria with copies of "Islam for Dummies" or the alleged leader of the November 2015 Paris attacks, Abdelhamid Abaaoud, who was reported to have drunk whiskey and smoked cannabis. But this has not stopped national security agencies, such as the FBI, from using radicalization models that assume devout religious beliefs are an indicator of potential terrorism.

The process of radicalization is easily understood if we imagine how we would respond to a foreign government dropping 22,000 bombs on us. Large numbers of patriots would be volunteering to fight the perpetrators. Nationalist and religious ideologies would compete with each other to lead that movement and give its adherents a sense of purpose.

Similarly, ISIL does not primarily recruit through theological arguments but through a militarized identity politics. It says there is a global war between the West and Islam, a heroic struggle, with truth and justice on one side and lies, depravity and corruption on the other. It shows images of innocents victimized and battles gloriously waged.

In other words, it recruits in the same way any other armed group recruits, including the U.S. military.

That means that when we deploy our own militarized identity politics to respond to terrorism, we inadvertently reinforce ISIL's message to its potential recruits. When British Prime Minister David Cameron talks about a "generational struggle" between Western values and Islamic extremism, he is assisting the militants' own propaganda. When French President François Hollande talks of "a war which will be pitiless," he is doing the same.

What is distinctive about ISIL's message is that it also offers a utopian and apocalyptic vision of an alternative society in the making. The reality of that alternative is, of course, oppression of women, enslavement of minorities and hatred of freedom.

But the message works, to some extent, because it claims to be an answer to real problems of poverty, authoritarian regimes and Western aggression. Significantly, it thrives in environments where other radical alternatives to a discredited status quo have been suppressed by government repression. What's corrupting ISIL's volunteers is not ideology but the end of ideology: They have grown up in an era with no alternatives to capitalist globalization. The organization has gained support, in part, because the Arab revolutions of 2011 were defeated, in many cases by regimes allied with and funded by the U.S.

After 14 years of the "war on terror," we are no closer to achieving peace. The fault does not lie with any one administration, but with the assumption that war can defeat terrorism. The lesson of ISIL is that war creates terrorism.

After all, the organization was born in the chaos and carnage that followed the 2003 invasion of Iraq. Russia and Iran also have played their roles, propping up Syrian President Bashar Assad's regime — responsible for far more civilian deaths than ISIL — and prolonging the war in Syria that enables the militant group to thrive.

Meanwhile, the alliances we consider crucial to the war on terror have worked in ISIL's favor. The group's sectarianism and funding have come from the Saudi and Gulf ruling elites, the West's closest regional allies after Israel. And the groups that have been most effective in fighting ISIL — the Kurdish militia — are designated as terrorists by Western governments, because they are considered threats to our ally Turkey.

The incoherence of our response to ISIL stems from our Islamophobia. Because we believe religious extremism is the underlying problem, we prop up Arab dictatorships that we think can help us contain this danger. Paradoxically, we support the very regimes that have enabled ISIL's rise, such as the Saudis — the most reactionary influence in the region.

With our airstrikes, we continue the cycle of violence and reinforce the militants' narrative of a war by the West against Islam. Then, to top it all off, we turn away the refugees, whom we should be empowering to help transform the region.

If we want to avoid another 14 years of failure, we need to try something else.

Arun Kundnani is the author of "The Muslims are Coming! Islamophobia, Extremism, and the Domestic War on Terror." He wrote this article for the Washington Post.