It will continue as long as ordinary people elect bad people to govern the country. If they do this in every election, then a large part of the responsibility lies with them. Change can only come if dishonest people are removed and those who will work for the benefit of the people are appointed.
This is the flaw of democracy, we got options to choose from A or B but what if both A and B are not fit to be elected? If we skip our vote, still someone from these two is going to get elected and that's the problem. Eradicating corruption is a long process especially when it lies into the roots of people's mindset and most of the time they don't even realize that they are committing a crime, it's just so normalised everywhere. Ultimate solution is to throw all the political parties and government officials and have a system to reelecta leader at any point of time will create fear among the elected ones.