Kill the chicken to scare the monkey is an old Chinese idiom. It refers to making an example out of someone in order to threaten others.