The state isn't in the business of revenge. It prosecutes crimes on your behalf because private vengeance escalates and frequently lands on the wrong person.