The legal standing was not as shaky as news media keeps telling people. The Secretary of Education has the right to modify or waive loans. Roberts acknowledged this right, but claimed that partial loan forgiveness is neither of these things, when it's kind of both.
xkcd #2868: Label the States ( xkcd.com )
Alt text: Even with a blank map, a lot of people can only name 45-50 of the 64 states.
The Supreme Court strikes down Biden's student-loan forgiveness plan, blocking debt relief for millions of borrowers ( www.businessinsider.com )
The Supreme Court ruled Biden's student-loan forgiveness is illegal, meaning borrowers will resume payments without debt cancellation this year.