Like baloon payments and reverse mortgages leading up to the housing crisis? Just like student loans, when enough people are fooled or make a bad decision, it impacts the larger economy to some degree. I think it would make more sense to end the unjust and predatory practices to help prevent that sort of thing.
As for paying for your own mistakes, that sounds pretty fair. But it seems there are other instances where people bankrupt becuase of insurmountable debt and it is acceptable for the people they owe, or the population in general, to pay for it. Like medical bankruptcy. Say someone piles up $50k in medical bills caused by smoking or doing some stupid stunt. That was a health choice they made, they decided to get cheap or no insurance, the hospital provided an agreed upon service, yet they can bankrupt and others pay. It's just odd that bankruptcy applies to every bad decision people make accept choosing the wrong education/career path. (I'm sure there are some nuances I am missing about various bankruptcy types, I don't mind getting schooled if that's the case).