The first half of the sentence comes from Cheng Hao's Autumn Day.
Nothing is idle when idle, nothing is red when sleeping.
Everything is complacent when you are quiet, and you are happy when you are with people at any time.
Tao passes through the material world and thinking enters the abnormal situation.
Wealth is not slutty, poverty is not happy, and men are heroes here.
As for the source of this sentence, it may come from the book "impetuous society, calm mind wins"