because IIRC the state of New York does not have the death sentence - do feel free to correct me. As for the OP, the lethal injection is given after the subject has been knocked out, does not preclude that it's absolutely painless only that the subject is not conscious to the fact and thus cannot (and subsequently does not) react in such a manner as to cause distress to the witnesses beyond that which is already caused. Further to that, executions are done in such a manner as the state, even in the most extreme case can be seen as being above the perpetrator - by rendering them unconscious it does not cause suffering therefore the state can say they may have indeed killed the perpetrator but they did so humanely in the name of justice. Think of it as killing, but taking the moral high ground in doing so unlike the perpetrator who generally just kills the person without giving a damn about thinking of such things.