General deterrence is a crime control policy that relies on instilling the fear of punishment. The goal is to convince a potential criminal that the pains associated with crime outweigh any benefits.
In the mid 1700's Cesare Beccarria wrote essays on crime and punishment. He believed that for punishment to be effective it must be:
Making an example of criminals in the media is one way to convey current attitudes about crime.