Whose poem is it to think impermanence in prosperity and cause and effect in adversity?

It is a poem of ignorance and Zen to think about impermanence in prosperity and cause and effect in adversity.

Thinking about prosperity and impermanence, thinking about adversity and cause and effect all come from Buddhist stories. The meaning of impermanence in prosperity is; When the wind goes well, don't forget to remind yourself that you must not be complacent. Life is full of uncertainties. I don't know when things will go wrong again, but you should treat them with a normal heart. Adversity thinking about cause and effect: Adversity should also think about the cause and effect of things and choose the right way to deal with them.