How can educational content about the judiciary impact public trust in the legal system?

I want to understand how the portrayal of the judiciary in school textbooks, especially when discussing sensitive topics like corruption, might affect young students’ perception and the overall public confidence in the judicial system.