Mobile providers usually offer loans ("service contracts") where people get phones outside their financial standing (I regularly see high end iPhones and foldable phones of €1-2k run by people in a country where average monthly salary is less than €1k): if a highly visible device like your phone can be had for 10% of your monthly salary, people will, unfortunately, opt for it.
I tend to not use Apple not due to cost (I honestly believe it's OK to pay a premium for quality; I might disagree they offer it today though, as I do use a couple of their devices at work), but because of how closed their ecosystem is (and yes, all my personal devices are running some sort of Linux, and Android phones are rooted and with bootloader unlocked).