I would hold people accountable for being in an creating a corrupt leaders rather than the leaders themself.
I don't think that is absolutely correct that you will hold people accountable for creating corrupt leader. So in a democracy, before a new government is formed they conduct election for the candidates who have shown interest to to be voted for, so you can only be correct in your submission if people did not come out to vote their choice and most times the people have majority of their vote to one candidate but what happens after election is what determines who the few in power want and they will manipulate the result of the election and announce a wrong candidate. In this case would you say the people voted a corrupt leader?
The bulk of the people leading are not the choice of the people especially in third world countries where corruption is very high.
Therefore, it is not the fault of the people that their leaders are corrupt.
This may be limited to third world country with extremely corrupt officials as well. I got your point this is something which would be exceptional cases but unfortunately there are higher chances of such things to occur in most of the third world/under developed nations. The only way out for them is a genuine leader coming out of corrupt political party or a change of heart from corrupt leaders.
Yes, I cannot blame people in this situation and I think Egypt and Syria are great example wherein the opposition is selected by the ruling party which eradicates the chances of genuine opponents.