It seems to me that this turns out to be a chicken-egg, self-fulfilling prophecy: places where people do not trust government often elect corrupt(able) people—perhaps those types are the only ones available.
* https://en.wikipedia.org/wiki/Corruption_Perceptions_Index
Places where there are high levels of trust in government (Nordics) tend to have good government.
* https://en.wikipedia.org/wiki/Democracy_Index * https://en.wikipedia.org/wiki/List_of_countries_by_Fragile_S...
Not sure if there's some kind of 'loop' happening there in which countries can get stuck in, or how to break out of it.
It's also the case that if a party campaigns strongly one subject and win votes with that, its ministers will tend to get the ministries that allow them to implement their ideas. So if you're tough on security you might get the police, if you're a fiscal conservative you get finances. It's more complicated than that, but the longer they stay on the bigger the chance they end up where they want.