Debt should be used to purchase an asset that will appreciate or otherwise provide an income in excess of the interest payment on the debt. Full stop. That is how businesses use debt and that is the only sensible strategy. As a consumer, a house may be a sensible use of debt. A reliable car needed to get to work may be a sensible use of debt. A student loan might as well. Carrying a balance on a credit card is almost never an appropriate use of debt.
Unfortunately, marketers have instead convinced consumers that debt is an easy way to buy things they can't afford and pay for it later. This is almost always a losing proposition for the consumer, who invariably ends up paying much more than they would have if they had just saved up and bought the thing in full up front. The way to sensibly manage this is to not fall into the trap in the first place.