So if person A got a degree that they can use to get a job with $40k of debt and has worked hard to pay it off, but person B has incurred $40k to get a degree that isn't going to lead to a job, you seem to think we can just forgive the debt of B without having any impact on A. Where do you think the money to pay for that debt will come from....well people who have jobs and are working. So basically person A has to pay for their degree in something that led to employment as well as the degree person B got that didn't lead to employment.
Is that worth doing? Maybe, but don't pretend it has no impact on the people who did pay off their loans.