The Boxer Rebellion and the work of Sun Yixian (Sun Yat-sen) are most closely associated with the rise of nationalism in China.
https://courses.lumenlearning.com/suny-ushistory2os2xmaster/chapter/the-kennedy-promise/
should really help.
"There ain't no such thing as a free lunch" expresses the idea that even if something seems like it is free, there is always a cost, no matter how indirect or hidden.