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

Recent controversies around NCERT textbooks allegedly showing the judiciary as corrupt raise questions about the influence of educational materials on perceptions of legal institutions. I want to understand the broader implications of such content on society.