deterrence

The act of stopping bad actions by scaring people with punishment.