In a bankruptcy if they see you recently paid off school loans with a home loan only to immediately default on it they can block that loan as being part of your bankruptcy.
While everyone is so focused on this class warfare bullshit, one of the major things the lower class did to fuck themselves was voting to make bankruptcy tougher.
Without a private business qualifying for a full bankruptcy is normally impossible without it being much worst than just paying things....
In the lesser bankruptcy usually the repayment schedule works out the same as if you just toughed it out yourself.
I had about $80k in debt on about a $40k salary...it was going ok until my mortgage company fucked up my credit and all my CC's went to their default rates. I had ultra low interest rates (like 6-7%

so I was able to tough it out...after that just the interest payment was more than I was paying each month.
Fortunately I was able to find better jobs / get promotions quickly and knocked that shit out. I met with an attorney that was also a family friend trying to work it out in my best interests and the results would have not been worth taking the 7 year hit and the repayment plan would have had me struggling based on that current income for 5 years.
Most people can repay their debts in 5 years if they were forced to sacrifice everything.