If we look at humans throughout history, we'd notice that we have always put ourselves into smaller groups. This group mentality has resulted in so many conflicts and wars. Take away the race, religion, caste, gender and everything else you can think of, we will still form group based on some weird criteria and develop this group mentality. Why can't we think ourselves as part of a wider community that includes everyone? Why this compulsion in wanting to belong to a smaller community?