I used to have this opinion, and I try to take as little debt as possible. However, I've change my opinion in recent years, and I now think it's based on a privileged position that not everyone is in.
Buying a new phone today rather than once I've saved up is a luxury, but buying a replacement phone today rather than being without a phone for ~months while saving up could bring with it significant costs – making it harder to access employment, healthcare, or to socialise. Similar examples would be things like car repairs.
Cash flow is worth something, businesses have known this forever, and people living paycheck to paycheck are typically experts in how to make their money work as well as possible because they're so close to the edge. I trust them that if they think this is the best option for them, it probably is. Payday loans are in the same category here (and businesses call them "commercial paper").
Now, I'd love to live in a society where this isn't necessary, but that's not the world we live in, so I'm in favour of these things being available for those who need them.