We need to win the battle for hearts and minds against extremists so we can have an end to the terrorism that has done so much damage.