Relying on a high salary or a hot stock is a dangerous trap. Why the most secure people plan for sudden crisis.