GDP is the overall size of the economy of a nation. It does not reflect the standard of living but it does reflect how mighty a country is economically. A lot of you guys compared Eritrea to Somalia. Eritrea has a smaller economy than Somalia yet it has a higher ''Per Capita income compared to Somalia.
Fpr e.g. Somalias economy divided by its number of people would give you around $600 per person. In Eritrea, their economy divided by their population is $900 so it is a richer than Somalia hence the more nice looking capital. However, a nice looking capital doesn't mean it produces enough. a country can have tons of factories working in a place with no paved roads, that is still more productive than Eritrea with a few roads but barely any type of productive economic activity
Fpr e.g. Somalias economy divided by its number of people would give you around $600 per person. In Eritrea, their economy divided by their population is $900 so it is a richer than Somalia hence the more nice looking capital. However, a nice looking capital doesn't mean it produces enough. a country can have tons of factories working in a place with no paved roads, that is still more productive than Eritrea with a few roads but barely any type of productive economic activity