Maybe buying an iPhone will give that person temporary happiness but when a person spends that amount of money on investment without buying an iPhone, but in the future he will get a good amount of profit from this investment and it will be seen that he can buy more iPhones from the profit of that investment. But our brains think very little like this, we prioritize what we get in the short term or what happiness we get for the short term as opposed to spending money.
If you can afford an iPhone without it affecting your bank account, buy it. Where the problem lies is, if you are using your last amount in the bank to buy it. If nothing of such, go ahead and buy your iPhone. So far, it gives you joy. People spend thousands of dollars for enjoyment in a day and it didn't stop those who want to invest in Bitcoin to have a change of mind.
I hate to assume that those who bought an iPhone made the mistake of buying an expensive phone when that's what they wanted; they bought it according to their want or based on the type of work they do.
There is nothing wrong when someone can afford it, they need it regardless of other people's point of view. Many do buy for lifestyle, but not a few of them buy because of the needs in their business. I do not completely blame people who buy expensive things when they can afford it, especially when they do not use their last balance to fulfill their lifestyle. Never mind an iPhone, they can buy anything more expensive if they are financially able, the problem only comes when they spend all their money just for lifestyle without thinking about their future.
I don't care if someone thinks I'm stupid when I buy a motorbike in cash with 1/5 of my money, I don't care if I spend 1/5 of my money to buy a car in cash and I don't care what they think if I can buy a house with 1/3 of my money, it's a necessity, but I never ignore investment.