I think you can do those things for the generalised benefit of human life.
I just don’t think many people do. Anywhere in the world. So removing patriotism would have a massive dis-benefit in those areas.
After all, many people on these boards support higher taxes, but very few make tax-level donations to support people overseas, even though that would produce more benefit to humanity as a whole.
To me, you are confusing philosophically necessary with socially beneficial. I can agree with you that patriotism isn’t philosophically necessary, in a strict sense, but I think it’s very beneficial on balance. That’s because I think the nation state is beneficial on balance and can’t see how in reality you would make that work without patriotism. Perhaps you could do it through fear (worse), or by aligning states with some other locus of loyalty like race or religion (possible, but not obviously better).
And while I agree that in a sense country is ‘just’ one level, I don’t see how that undermines its legitimacy. And it’s patriotism that makes the borders something more than merely administrative.
Do you see any benefit to attaching pride/loyalty to family, friendship group, locality, kinship networks, language group, race or any other level? If so, why?