देशभङ्गे प्रवासे वा व्याधिषु व्यसनेष्वपि ।
रक्षेदेव स्वदेहादि पश्चाद्धर्मं समाचरेत् ॥
When the country is being plundered (by enemies), when on travel, when ill, when in trouble - one must strive to protect his own body. Only later must he worry about following Dharma (the moral code of life).
- Parashara Smriti