Wiktionary
make an example of
vb. (context transitive idiomatic English) To punish someone so as to be a warning to others.