1. Nationalism is necessary for the preservation of liberal values.
When liberals reject and alienate nationalism we leave ourselves vulnerable in many ways. First of all we allow hundreds of thousands of anti liberal migrants who sexually abuse our women and children as well as the the women and children escaping war zones. There are even cases where victims are silenced in order to protect the migrants by, feminism. This is because anti-nationalist have no interest in protecting their people or culture. In fact they see nationalism as a form of prejudice and actively support destroying national boarders. 2. Tribalism is an inescapable part of human nature and nationalism is the most pragmatic form of tribalism. Through out human history humans have always lived in tribes. This is because humans are physically incapable surviving on their own so humans group up in order to preserve themselves. Because of this humans have evolved to have a strong sense of tribalism. No matter how much you try to fight against it humans will always be tribal so how do we deal with that reality? Nationalism. With nationalism each tribe is separated by boarders and will have their own government. This separation would allow peaceful relations to be maintained by allowing groups that are normally hostile towards each other. Sure, war is possible but it's much more preventable than sectarian violence within a nation. 3. Nationalism is the only thing could end racism. As I mentioned in the last part tribalism is a part of human nature and therefor cannot be eradicated. An interesting point to make though is that you can attach tribalism to pretty much anything. On the one hand this has led to, genocide, slavery, colonialism, and any other horrific atrocity that can be committed against a designated group. On the other hand it can also give you a sense of belonging and cohesion. When you're a member of a group you collaborate and protect each other. This is how human have survived sense the beginning of human history. When it comes to racial tribalism it innately creates sectarian violence and in fact was invented by the Arab slave trade as a way to justify slavery. Many try to condition people into abandoning racial tribalism while rejecting Nationalism as if we'll have this grand humanitarian globalist society but this is silly. Humans will always be tribal so how do you actually deal with racism? You raise children to direct their tribalism towards nationality not race. If you look at the military in any multi-ethnic society you see exactly what I'm talking about. Soldiers are carefully trained to see themselves as a unit and this is why racism doesn't exits in the military. If you can eliminate racism through nationalism with adults than imagine what would happen if we raised our kids to feel that way.