What do you mean, you were 'sent' into an unarranged overdraft?
You spent more than you had?
Why don't you arrange an overdraft then?
That sounds judgey and quite a privileged viewpoint. It's easy to 'spend more than you have' if a company claims a DD a few days early or when your balance doesn't update in real time. Also, emergencies can crop up.
Banks are doing all they can to get people away from cash and companies penalise those paying in cash (sometimes charging an extra 50% or so for a basic phone SIM-only contract), but one benefit of cash is that you know exactly how much you have and what has been paid out at any one point.
DDs are much more convenient in modern life - as long as you have the luxury of a buffer zone and not needing to watch every penny.
Also, it's not always easy to 'just get an overdraft'. Apart from maybe for students, banks generally only want to grant them to those who find them handy but could probably manage without them - like the umbrella that Mark Twain famously spoke about. Unless you arrange one well in advance of when you need it, they will use your urgently needing it as a reason to refuse it and tell you that you can't afford it.