In my humble opinion, I believe that self-preservation is innate to us all. As humanity has evolved, laws and societal norms have created more perceived order, and has, in itself, assisted in self preservation.
In extreme forms, self-preservation, in modern times, can lead to illogical behaviors, where for example, the fight and flight response is not appropriate.
In contrast, self-preservation includes mindful behavior as well. This can lead to a healthy life.