Earlier quoted context omitted.
In most of the world, yes, you don't assume you're in mortal danger. This is the kind of logic that makes US police officers shoot everyone on sight. An intruder most likely wants to steal your stuff, which hardly requires a death sentence, as you seem to want to offer.
You are confusing criminal punishment with self-defense. In the US people are allowed to use deadly force for self-defense. As far as I know, even in states where there is no death penalty for any crime. For example, "Manson Family" could not get death penalty for the murder of Sharon Tate and others because California banned death penalty at the time of their trial. Would you really argue that, if they had means to…
It's not quite that simple. Self-defense must be proportionate, so you can only use deadly force against an imminent deadly threat.