The most important characteristic shared by survivors of wilderness emergencies is a positive attitude. Almost invariably, people who come through harrowing experiences unscathed are those who believe they will. They are people who seen an emergency as a problem to solve, a challenge to overcome, who nevr even consider the possibility of failure.
In addition to the possession of a "can do" attitude, those most likely to voercome dangers to life and limb are people with a strong sense of personal responsibility. The wilderness is niether benevolent nor hostile; it really does not care one way or the other about you. It is up to you to take care of yourself, plan carefully, equip yourself properly, be physically fit, know the basic first aid, and accept the consequences of your actions.
There are several books and films that treat this issue in a very interesting and enlightening way. I strongly recommend anyone to read the books "Into Thin Air", "Into the Wild" and "Alive" written by Jon Krakauer and Pears Paul Read respectively. The movies that I can recommend are "127 Hours", "Touching the Void", and "Stranded".
These books and movies are all based on true stories and the recommendations are not for entertainment purpose, but for thoughtful introspect and learning.