Here it is very important to take into account and accept one nuance - it is necessary to realize that the modern world is becoming technological, moving away from the concept of resource-based. Yes, resources are good, yes they are still needed, but... Without technology, it is difficult to extract resources, difficult to process them, and almost impossible to create high-tech goods from resources. If we go back 300-500 years ago - yes, there the world was exclusively raw materials, because for the production of 99.99% of everything necessary man needed only resources, physical force and primitive mechanization. Now the world has changed dramatically. Technology is now at the helm. I am about to say a thought that is not very pleasant to some countries, but it is also a fact - a technologically backward country with resources, for "papers" of a high-tech country - will get any resources, send them nicely, exchanging a huge amount of its resources for a small amount of papers of a high-tech country.
Therefore - stimulating the economy and gaining advantages - through the development of technology, education, attracting investment