I think it all depends on the government of the country, on the general ideology. Let's look at Norway. Stable stable growth. Or Nepal - stably bad. Well, Norway has oil. But Russia also has oil. In which country is the economic situation better?
Apart from what countries have, it also depends on those who controls those resources or means of production. That is the leadership of the country or the decision takers. If the people's hands are corrupt, they may still not do fine despite the huge resources the country has.
Corruption is the biggest problem of our country but apart from corruption epidemics and conflicts are responsible for the rise and fall of the economy When these effects occur business trade production and everything else stops which hinders the economy. But the government is responsible for all this