The worst thing is that they collect taxes AND still do nothing for their people. I live in a country like that, half of my money goes to government and all they do in return is just corruption and take our money, at this point they are wasting money on just salaries of government employees and pocket the rest. They even take loans from places like IMF or so, and then pocket the rest.
Indeed. The do maximum efforts to grab the taxes, meanwhile they do minimum efforts for the welfare of society. It seems we are living in the country that has a similar condition. Here, the government also prefers to raise the salaries of government employees. They don't care with the salaries of private employees. In my country, they take a loan from all possible sources.

So overall, there are not that many decent governments in the world, but if there were, I bet you that taxes would be enough for everything, and nothing would be needed to be spent on any of this. We should realize that governments are there to ruin most countries, it's just the way it is built, we do not get good people who could run these countries.
You're right. There are very few governments that can be classified as ideal governments in the worlds. In most countries, the governments only try to enrich themselves. So, it is very reasonable that many countries have bad economy because the governments don't really care about it.