I don’t see how the death penalty adds anything here. There are already significant consequences. People who commit such crimes either do not expect to face the consequences or don’t consider the consequences at all.