All people and things are created for a good purpose. Everyone has an excellent purpose to their lives and all things in our lives are intended to serve an excellent purpose. When people and things become corrupt they're impaired to serve that good purpose. Corruption doesn't negate the purpose, it just obstructs it temporarily. The fact is that we are all corrupt and struggle to fulfill our good purpose everyday.
But some people, governments, and organizations try to convince the rest of us that certain people, governments, organizations, and even nations are so corrupt they have no value or purpose any longer. These are lies. They'll use gossip, innuendo, sound bites, still images, and whispering to plant their perspectives and agendas on the rest of us. This is how corrupt judges corrupt - though gossip.
If you try to sort out a difficult situation from the foundation of these lies, you'll arrive at strife and division. This is why Proverbs teaches, "A perverse man spreads strife, And a slanderer separates intimate friends." -Proverbs 16:28 (NASB)
Start with the truth that all people and things were created for a good and excellent purpose and you're on the right path to find a solution that restores honor.
This is hard to accept. Pray that you can see the purpose in peoples lives over their corruption.