That's the way it use to be until the government changed it and made it impossible to discharge student loans.
The lack of bankruptcy is, in my opinion, key to the whole process.
I know why it was put into place. Kids were catching on that at 23, they could arrange for themselves to go bankrupt and suddenly they got free education. I knew one guy in college who was panicked when he got into an at-fault accident that caused injuries to the other driver and he didn't have insurance. (I don't remember the laws at the time, whether insurance was required, whether he was breaking the law by driving without it, or whether it was a case that he had insurance, but not enough. That's not important.) The point is that he was going to lose everything he had, except, he didn't have anything. He was a recent college grad, this would have been in 1985, and all he had was a pile of debt and a car. Well, the car was gone in the accident. He declared bankruptcy, and his loans were gone.
So, ok, they put a stop to that practice, but instead we got into a situation where an 18 year old decided to study literature and built up a debt that was literally impossible to pay off, even after he lost his low-wage job in the recession and found himself unable to pay the car loan. He could get free of the car loan, but the college debt will follow him to the grave.
If somebody over 18 years of age stood to lose some money in the event that the debtor could not pay, they would be cautious about who they gave the money to. This, in turn, might result in them refusing to give out as much money, which would mean that colleges would be under pressure to charge less, and eliminate the position of Assistant Dean for Student Relations.