While the recent attacks are not connected by common networks, they are connected in one important sense. They are bound together by the single evil ideology of Islamist extremism that preaches hatred, sows division and promotes sectarianism. It is an ideology that claims our Western values of freedom, democracy and human rights are incompatible with the religion of Islam. It is an ideology that is a perversion of Islam and a perversion of the truth. Defeating this ideology is one of the great challenges of our time, but it cannot be defeated by military intervention alone. It will not be defeated by the maintenance of a permanent defensive counter-terrorism operation, however skillful its leaders and practitioners. It will only be defeated when we turn people's minds away from this violence and make them understand that our values – pluralistic British values – are superior to anything offered by the preachers and supporters of hate.