The lines seem to blur in some cases. The average, non-criminal person, may reconsider killing someone because of the death penalty. It certainly won't stop the hardened criminal. Texting and driving can't be attempted murder, like you say, because of the lack of intent.