Anyway, the Bodhi ancestor did say this. What he said to the Monkey King in Journey to the West shows that this language had a model as late as the Ming Dynasty.
Upstairs, you said that what Chairman Mao said may be the chairman's great influence. But in fact, I don't know that Chairman often likes to quote classical sentences and sayings, including many of his poems, which are also quoted directly or indirectly. For example, Wei Wu waved a whip and left a legacy in Jieshi in the east.
What is formal may be that he said in the editorial of the People's Daily on New Year's Day in 1976 that nothing is difficult in the world if he is willing to climb. This is also a borrowed proverb, so the source of this statement is not from the chairman.