But. so this piece argues, this is no criticism of Qatar and UAE. Quite the opposite. True it is that there are some fantastically rich people in (e.g.) Qatar and some terribly poor ones in south Asia, but allowing some of the latter to live and work in the same country as the former in fact narrows the global inequality: the south Asians do much better in Qatar than they would by staying at home. There's a good graph at the link that shows quite how much of a difference the middle-Eastern states make - a lot better than the likes of Norway.
Here, I think common sense morality conflicts with utilitarianism. But it's not clear that common sense morality should prevail.
Amendment: on the subject of global versus national inequality see Tim Harford.