thats a rampant misconception. the somali republic borders does not have the natural resources or human resources to maintain a 1st world country status let alone a social/welfare state unless its concentrated in a few cities. the best lands are outside the borders.
Somalia has decent onshore/offshore fossil fuel deposits as well as massive renewable energy capacity, as solar panels can be set up in the semi-arid regions and wind turbines can be installed offshore.
Also, with successful reforestation methods, Somalia can introduce a lively agricultural sector that will prevent us from going through a famine again then some.