If the death penalty deters one person from becoming a murderer it is effective. There are also some other important reasons for having the death penalty.
First, the families and friends of innocent victims have the right to see effective retribution.
Second, terminating the life of a killer is more economical than keeping him in jail at the taxpayers’ expense.
Third, everyone will have greater respect for the judicial system when justice is carried out.