Do we need the death penalty to satisfy our need for revenge? Is it possible for society to give up the death penalty?

Do we need the death penalty to satisfy our need for revenge? Is it possible for society to give up the death penalty?