无心所恃随遇而安
[wú xīn suŏ shì suí yù ér ān]
It reflects a mindset of indifference and contentment wherever you find yourself. The literal translation 'having nothing to rely on and accepting whatever comes along' portrays a philosophical acceptance of fate.