The impact of health on economic security