Is revenge justification for capital punishment?

no revenge is not justification for capital punishment