Why is Nationalism Still Important?

Nationalism is important in two ways. One is patriotism which solidifies a nation under one government. The other is that it minimizes intrastate violence and keeps a country from civil war.