It really is an inferior service to what once was.
In my top-10 US metro, this was generally not true for most restaurants. Pizza (except fancy) and (some) Chinese was about the extent of it pre-apps.
In addition to adding delivery to places that didn't deliver before, the apps also act as a menu. We definitely order from any number of places we discovered through the apps (I skip ghost kitchens though).
(I'm really disinterested in paying extra for a tepid cheeseburger and a box of sadness that used to be french fries, even if it does get delivered to my front door.)
I also agree that restaurant's own delivery was usually better, though communicating over the phone with a guy next to a busy kitchen struggling to understand your address or order wasn't always pleasant.
But before doordash many restaurants didn't deliver at all. So your options were to walk/drive/bus to get your taco bell, or go without it. Having a middle man that brings anything-to-anyone provides genuine value.
The demographic that keeps these apps alive are willing to pay 10-20% extra soley for the convenience of having a single app that consolidates all available food into one spot where they can just press a button and have the food show up 45 minutes later.
For them, convenience, not price, is the most important thing.
I have (not-so) fond memories of entering my credit card number in a non-TLS web form. And then waiting 1 to 2 hours for my food to arrive, with no communication or status.
It's a beautiful ecosystem.
Just because someone wants to pay for a service doesn't mean it makes the world a better place.