Imagine 3 people, with different amounts of wealth. 1 of them will always be richer than the other 2 by definition. There’s nothing wrong with this.
The problem comes when richest has much much more than the poorest. There’s little problem if poorest has 1 and richest has 3. There’s a huge problem if poorest has 1 and richest has 1 billion.
It’s not about how we sort countries, it’s about how wealth is distributed.