Yes, it makes sense to take on debt if you want to buy a house and you have a steady paycheck.
However, it's not obvious that it makes sense to take on debt to pay for things you already have money in the bank to afford. Why do I borrow $100 to buy groceries every week? I have more than $100 in my bank account at any given moment. Why do I borrow $3.50 to buy a coffee at Starbucks? I'm constantly borrowing money that I don't need, and then paying it back within a few weeks, just so that I can prove that I'm a responsible debtor.
This really becomes a problem when people use credit to pay for things they can't afford, of course. Still, the whole system of taking on debt for every minor purchase, just to prove that you'll pay it back, is sort of absurd.