Bombs won’t stop terrorism, brains will.