There is a fuzzy but real distinction that can and I believe should be made between patriotism which is attachment to a way of life and nationalism which is the insistence that your way of life deserves to rule over other ways of life.
I used to work a lot on food issues and every time somebody predicted that production would be inadequate they got egg on their face a year or two later.