Debt is a useful tool for investing in a business, or as leverage to afford a large purchase when the interest rate is particularly low (read: a mortgage).
If you want to own and grow a business that requires capital outlay or hiring people, there's practically no way to get started without taking on some debt. But if you're just working a W-2 job, have stable income, and live within your means, then the only "reasonable" debt to have is a mortgage and _maybe_ a car payment.
Plenty of people use debt wrong and that's why it gets a bad rep. Poor communities are often not taught proper financial management and may use credit card balances and payday loans because they believe that's what necessary to survive. Even though in the end, they are handing over a sizeable chunk of their modest income for no good reason.
Middle-class people wind up in bankruptcy because they use debt to fund luxury purchases that they didn't need and arguably couldn't afford. (Cars, boats, McMansions, etc).