This is a function of the form and culture of government - our current system, of professional politicians, is ruinous.
I have numerous thoughts on what would be better, such as sortition, or devolution and administrative federalisation, but as long as we have party politics and elections on mass scales, we will have corruption baked into the system. What we have worked reasonably well before mass communication, but with each step of communications technology, one of the core principles of representative democracy - representation - erodes, as the battles become tribal and personality driven on vast scales, and defy ration and reason.