It tends to discourage copycats.
These islamics go in intending to die. I don’t think they consider ‘martyrdom’ discouraging.