The current failure of the judicial system has two roots:
1. The GOP, while accusing the Dems of the same, managed to put many, many right-wing activist federal judges on the bench. Given the appeals process, it usually only a matter of time until any case reaches an incredibly biased right-wing activist federal judge.
2. The legal system has always been incredibly biased in favor of the wealthy. Throughout its history the vast majority of the people who are in positions of power in the justice system are from wealthy families. Few people (until recently) could afford to go to college at all. Even fewer could afford law school. The result is a justice system that's set up so that if a person is wealthy enough they will get the result they want. Meanwhile poor people are always screwed.
Trump should have been put in prison long, long ago, but his incredible wealth has allowed him to play the justice system every time and get the result he wanted. Now, that he has both activist judges and incredible wealth, he's close to unstoppable (keep your fingers crossed).
Either way, the firewall, which we thought the justice system would provide is clearly falling apart - starting with SCOTUS.