In practice you might find some short term benefit. This calculation would require specific information about supply and demand. Your statement about the "overall" economy makes it extremely difficult. In fact, I assume you don't really mean that, but refer to a specific country or region.
In the long term, as other countries or investors have time to react, efficient market theory applies (or Shannon entropy, if you prefer), and there is no advantage to any action less than fully diversified expansion. If, however, you have a monopoly of a resource which you can maintain (material, technology, labor, skill) to the exclusion of others, then you can gain an advantage from that. Any such advantage will redistribute itself to the country or regional economy if you enforce a free market (which requires government regulation or it degenerates into first chaos then monopoly). However, this depends on your culture and behavior. Many a country has fallen into corruption and the trap of a welfare state simply because oil was discovered there, etc.