xiān​tiān​xià​zhī​yōu'ér​yōu, hòu​tiān​xià​zhī​lè'ér​lè

selfless devotion

先天下之忧而忧,后天下之乐而乐 (先天下之憂而憂,後天下之樂而樂) xiān​tiān​xià​zhī​yōu'ér​yōu, hòu​tiān​xià​zhī​lè'ér​lè
selfless devotion
to be the first to worry about affairs of state, and the last to enjoy oneself (quotation from the essay "On Yueyang Tower" by Song writer Fan Zhongyan)

Sources

Definitions
CC-CEDICT