South Africa is struggling to provide for its people and fulfil its longstanding commitments to its neighbours.