This is not limited to iPhones, you can buy very nice Android phones that are meaningful upgrades vs a Xiaomi Mi5.
I tend to buy top of the line devices given a price range.
Mi5 was the flagship phone for Xiaomi when I bought it
I also was a owner of previous Xiaomi products and I wanted to test the new one
My point is that iPhone is a very limited platform
And its value for money is very low