Why do you think it isn’t? People do necessary things because they have to. People do desirable things because they want to. The risk of death can make a difference on whether you choose to do the desirable things, but you don’t have a choice about the necessary things.