Goldman warns spending cuts to curb growth