In effect, Social Security surpluses reduced the magnitude of government dissaving and the government's need to borrow from the public.
The surpluses of Social Security had the effect of reducing instances of the government borrowing the public's money.