As these two fears are inherent and opposed, conflict is inevitable, and compromise must be sought.
Man is unique in the animal kingdom.
We alone are consciously aware that we shall die. Major job of all religions is to handle question of death. The organized sense of who and what you are, helps to minimize the fears. Starts out as primitive counterwill, but matures during development. We are half animal with animal, biological urges, yet at the same time half spiritual or theological.