make an example of

/M EY1 K AE0 N IH0 G Z AE0 M P AH0 L AH0 V/
verb
  1. 1

    To punish someone so as to give a warning to others.

    โ€œHe made an example of the drunken sailor with twenty lashes, to show that he must have a sober crew.โ€

Source: https://en.wiktionary.org/wiki/make%20an%20example%20of