In what ways can public controversies about corruption in the judiciary affect public trust in the justice system?

NCERT recently stopped distributing a book section on judicial corruption. I want to analyze how such public debates and actions impact people's perception of the judiciary and its legitimacy.