> Since most men tend to love their homeland, the identification of that land and its people with the State was a means of making natural patriotism work to the State’s advantage. If “Ruritania” was being attacked by “Walldavia,” the first task of the State and its intellectuals was to convince the people of Ruritania that the attack was really upon them and not simply upon the ruling caste. In this way, a war between rulers was converted into a war between peoples, with each people coming to the defense of its rulers in the erroneous belief that the rulers were defending them. This device of “nationalism” has only been successful, in Western civilization, in recent centuries; it was not too long ago that the mass of subjects regarded wars as irrelevant battles between various sets of nobles.
https://mises.org/online-book/anatomy-state/how-state-preser...