There is only one path to our existence: death. So, death is a goal of existence. Being an objective, it has an effective function for our lives.