I would add to this, people who are justifiably executed (at least "justifiably" in the era they existed) but for whom later evidence emerges which exonerates them
Its better to not execute people for reasons unknown, if you can't even decide if the person was justly or unjustly executed, that is probably enough information.
Moreover, I don't personally agree with capital punishment.