Except student loans are now underwritten by the US Gov't. In other words, it's the taxpayer on the hook for the default. That's why student loans are not forgiven in bankruptcy proceedings. However, other debts are erased which are the source of a $#@!ty credit score and higher borrowing costs into the future for deadbeats. Which is the way it should be.
No student borrower, who borrowed of their own free will and promised to repay, should be relieved of their obligation to pay back to society what they took from society.