If goodness has causes, it is not goodness; if it has effects, a reward, it is not goodness either. So goodness is outside the chain of cause and effect.
Ought we not to ask the media to agree among themselves a voluntary code of conduct, under which they would not say or show anything which could assist the terrorists' morale or their cause while the hijack lasted.