South Africa plans to spend more on health and defense after the US cuts aid