居安思危

Idiom

 * 1) to think of danger in times of safety; to be vigilant in peacetime