Be warned ye all who read this, this is a somewhat stretched theory at the root of the world's problems.
The root of all the problemes is a strong segregation of the peoples of this world. I don't mean racial segregation, well maybe, but only to a small extent. I mean those things you see on maps. Those lines, that divide huge landmasses. That label one side of the line as entirely diffrent to the other one. You know what I'm talking about.
Borders.
Borders signify lines that seperate people, segregate them. Suddendly the segregated humans start to band together with the fellow 'countrymen', and they find that relationships with people from the other side of the artifical line to be harder. Over the years, decades, centuries, the line showed signs of fading, espically in today's world (The information age), which allows for communcation with fellow men from the othe side of the line indirrectly through the internet. Dirrectly it's still quite a pain to step over the line.
Now while this is a rather unpleasent effect of the segregation via a line, one could still see postive aspects in the line segregation concept. These could be increased friendship inside the line due to the conrtrast of other people, companianship inside the line, easier to govern, etc. But truely the most double edged part of this concept is the fact that pride arrises from these aritfical lines.
Pride.
Pride that it is food coming from inside the perimeter of the line that you live in. Pride that people born in your line's perimeter are able to beat them. Pride that the people inside the line have a unique codex/way of life (culture). Etc.
But the evil twin of Pride, Wrath, makes a truely horrid display. Wrath could be the way that people outside the line are coming into the line instead of remaining where they should be and having their own jobs, instead of the ones produced by an ever so prideful country. Wrath that we must give resources from inside the line perimeter to those outside it. Wrath.
If ammassed greatly enough, wrath can lead to war, the destruction of the infrastructure, the murder of people, etc outside the perimeter of a line. Leaders, even in the middle ages, need the wrath of the people to be able to set things into motion, which are unethical and goes against ones conscience. If they instead force this movement without wrath, then revolutions occur, the one in power is taken out of power, and a leader who understands the concept of wrath takes over eventually, as failed leaders, who refrain from using wrath to their means, will be taken off their throne of power, either via a revolution, a new president, etc. So in the end we're left with wrathful countries, between which tensions keep rising. A world, or a part of the world, without those lines will lead to bigger understanding between those who were segregated by lines before, which will change the philisophies of the man, leading to a more peacful soceity.
As an example one could look at the EU, which strives to remove those lines.
I'll say this again: the root of the problem are artificially created lines which first served to be able to better control the development of societies, but then lead to pride, and wrath.
And this segregation is not only caused by lines on a map - but also by diffrent religions, cultures, but it is not as drastic as the 'borders' concept. It would be a choice between a more utopian society, where freedom is sacrificed for happiness, or a freer, more angry world, at least in the perspective of the other segregating factors, but removing the 'borders' between people, or at least fading them to slowly remove them, will cause far less loss of freedom compared to the other methods, and at the same time reduce pride, which eventually reduces the violence, leading to a more happy world.
Note: I derribtly used 'lines' instead of 'borders' to break the illusion that borders are rather natural things.