Where does the phrase "a small hermit hides in the wild, a big hermit hides in the city" come from? What is the allusion?

It is probably a common saying that has existed since ancient times, so it is probably not easy to find out who said it first. However, from a vernacular sense, I think it may be the poem "Zhong" written by Bai Juyi, a poet of the Tang Dynasty. "Yin" was the first to summarize it in an easy-to-understand manner. Bai Juyi's "Zhongyin" The big Yin lived in the Chao market, and the Xiao Yin went to Qiufan. Qiufan was too neglected, and the Chao market was too noisy. It is better to be Zhongyin, and Yin stayed in the official position. Coming out of the same place, I am neither busy nor idle. Only the hermit here is blessed with good health and peace.