idiom
make an example of someone
jemanden bestrafen, um andere zu warnen
Meaning
to punish someone to warn others
Example
The boss **made an example of** the dishonest employee.
Der Chef machte ein Beispiel aus dem unehrlichen Mitarbeiter, um andere zu warnen.