The Covid and opioid crises illustrate the linkage between a society's population and its wealth.