Arthur Brooks at The Atlantic:

Nationalists may identify as patriots, and some people opposed to both ideologies might argue that they are equivalent. For national and individual well-being, though, distinguishing between them is important. Following Tocqueville and Orwell, we might define patriotism as civic pride in our democratic institutions and shared culture, and nationalism as a sense of superiority or identity, defined by demographics such as race, religion, or language. Modern social science finds a major quality-of-life difference between the two. In 2013, a cross-national team of political scientists measured the effects of each on the levels of social trust and voluntary association, both of which are strongly positively associated with personal well-being. They found that civic pride usually pushed both up, and ethnic pride pushed both down.

Ronald Reagan’s farewell to the Republican National Convention, 1992:

My fondest hope for each one of you — and especially for the young people here — is that you will love your country, not for her power or wealth, but for her selflessness and her idealism. May each of you have the heart to conceive, the understanding to direct, and the hand to execute works that will make the world a little better for your having been here.