居安思危

jū'ānwēi

to think of danger in times of safety; to be vigilant in peacetime

Wiktionary

Homographs

Entry Composition