You are absolutely right about the corruption throughout society but that, too, can be changed and is formed by what people see at the top. When they see the corrupt elite escaping justice and being celebrated by the lifafa media, it sends a message. When they see the justice system itself is corrupt, it sends a message throughout society.
The feeling in Pakistani society is that honesty is a mark of naivety, that doing an honest day's work for a day's pay is only for fools who are too stupid to game the system. Why should a small businessman be honest and pay tax when the mafia industrialists get billions in subsidies and are paraded as heroes by the lifafa media?
By contrast, if people see justice being served fairly and quickly, it also sends a message and shapes societal attitudes.
Personally, I put the lifafa media (with a few rare exceptions) as the number one villain in Pakistan, even above the establishment. If the media was fair and showed the corruption and wrongdoing by all parties, including the establishment, it would change people's attitudes towards corruption. If the media asked tough questions why the main parties promote ethnicity-based divisive thinking, it would make people question the parties' tactics and motives.
In Pakistan, we have lifafa media that promotes the Sharifs as capable administrators and misunderstood, honest civil servants. It describes mafia industrialists like JTK and others as victims. The lifafa media dutifully refers to Bilawal Zardari as Bilawal Bhutto and calls the PPPP the party of democracy and merit while the whole party bows to the boy king with zero qualifications appointed Chairman by his daddy.