Diversity, prosperity and complexity