The war in the late Song Dynasty had a great influence on the literary creation of Shu scholars, which is particularly prominent in the highlight of family-nation sentiment. The turbulent external environment strengthened Shu people's family concept, and Shu scholars' lamented writing of their relatives sufferings during the war shows the importance of family affection to individual scholars. As the hope of returning Sichuan became increasingly dim, Shu scholars always regarded Shu as the old home to return to. With the identity of "Shu people", Shu scholars regarded "talking about Shu affairs" as a conscious way of political participation, and showed a strong sense of crisis and urgency. Shu scholars were dissatisfied with the way and attitude of the imperial court in dealing with Shu affairs, and felt neglected and abandoned, so their poems often concealed deep anger and despair. To be sure, if Shu scholars' feelings of home and country are divided into three dimensions: family affairs, rural affairs and state affairs, their feelings for these three are inseparable but not entirely conflict-free. Such reflects the subtle relationship of centripetal force and centrifugal force coexisting between Shu and the central government in the late Song Dynasty.