The justices ruled in a 6-3 decision favoring states that objected to the policy. The action dealt a blow to the 26 million U.S. borrowers who applied for relief after Joe Biden announced the plan in August 2022 and marks a political setback for the president.