object_lesson
1. [ noun ] punishment intended as a warning to others
Synonyms: lesson example deterrent_example
Examples:

"they decided to make an example of him"

Related terms: admonition
Similar spelling:   object_glass
  objectiveness
  object_code
  object_ball
  object_language
  objectionably
  objectionable
  object_program
  objectivity
  objectively
  objective_case