It doesn't say that the Secretary can cancel the debt entirely. I think it's somewhat of a stretch to say that waiving or modifying a regulatory provision related to the debt is the same thing as canceling it. Most people would interpret that as meaning something like you can pause repayment, adjust interest rates, etc.
Two small silver linings though. Roberts and his majority pulling all of these crazy stunts makes the SC much more interesting and has generated a ton of public interest. Public awareness and participation is gonna be an important step in reforming the court. Second, now that the majority no longer bothers with creating a legal pretext for its edicts (they aren't decisions without actual standing), they have created space within the legal world for serious conversation and effort towards reforming the SC to return it to its original intent as a judicial rather than legislative body. Reading some of the dissenting opionions it should strike anyone that the veneer of legal plausible deniability behind the conservative court's actions has been pierced to the point where you have dissenting justices quite explicitly calling out the unconstitutionality of the court's actions in writing.
"In adjudicating Missouri’s claim, the majority reaches out to decide a matter it has no business deciding. It blows through a constitutional guardrail intended to keep courts acting like courts," she wrote, adding that by deciding the case, the high court "exercises authority it does not have. It violates the Constitution."
Say you hire someone to paint your house and then go on vacation and when you come back they replaced your roof as well and gave you a $30,000 bill. You would be legitimately angry that they didn't authorize this extra work with you first even if they argue it was related to painting because the roof interfered with the paint.