No, it doesn't. The death penalty ensures that murder does not happen (if the country has a rich population, look at Singapore, Japan, Brunei, etc.), so it results in less wrongs being comitted.The death penalty runs of the fallacy of two wrongs making a right. You cannot bring a dead person back to life by killing the murderer.
I view the death penalty as a protection for the people, because that's basically what it does. It protects people from being murdered.