Does the pattern of social connections between individuals matter for macroeconomic outcomes? If so, where do these differences come from and how large are their effects? Using network analysis tools, we explore how different social network structures affect technology diffusion and thereby a country's rate of growth. The correlation between high-diffusion networks and income is strongly positive. But when we use a model to isolate the effect of a change in social networks, the effect can be positive, negative, or zero. The reason is that networks diffuse ideas and disease. Low-diffusion networks have evolved in countries where disease is prevalent because limited connectivity protects residents from epidemics. But a low-diffusion network in a low-disease environment needlessly compromises the diffusion of good ideas. In general, social networks have evolved to fit their economic and epidemiological environment. Trying to change networks in one country to mimic those in a higher-income country may well be counterproductive.