Noun
vicarious punishment (countable and uncountable, plural vicarious punishments) (psychology) The punishment of somebody who has committed a certain act, in order to dissuade others from doing the same.