Sure, Dubai may not reach the level Western democracies have, but they also didn’t start at the same point as well. That doesn’t excuse the shortcomings, but maybe explains them.
Western democracies in Europe and North America didn’t spring up overnight. You’re looking at 800+ years of developing a broadly accepted set of human rights.
Honestly can't imagine anyone would be this forgiving of it's bigotry if it wasn't so rich.