Roman legions would execute every 10th man as collective punishment. Kept the survivors in line. No idea if it ever actually happened.