The big red flag that the Supreme Court was going to be aggressive and lawless - and people pointed it out at the time - was the student debt relief ruling
Without thinking too deeply about the ruling itself: the glaring flaw in that case is that the state who filed suit against the federal government did not have legal standing to sue a third party. When the claimant doesn't have standing, the court doesn't have cause or jurisdiction to hear the case and write a ruling