I believe there are two types of pride. There’s the pride that comes before the fall, as the Bible defines. But there’s also the pride that helps pick us back up when we have fallen. The latter is not arrogance, but a recognition that we weren’t made to be failures.
It’s ok for communities to have pride as well, especially when the object of that pride are the people who share it with us. Of course, sometimes the actions or inactions results in shame. Here’s a few examples: