well death penalty is right but only in few cases.
if the crime done is so serious and the person has really a bad record regarding his/her habits,character, and actions...
also there's an indication that person is a social threat and there is chances that he/she will never stop committing crime...