There is an identity in macroeconomics. It says that in any given year private investment must equal the sum of private savings, corporate savings (retained earnings), and government savings (the government surplus, which is more likely negative, that is, a deficit),
PI = PS + CS + GS (1)
In a global economy the quantities in the equation are global. This means the equation need not hold in a particular country, but it must hold in the world as a whole. For example, in recent years private investment in the US has been greater than the sum of private, corporate, and government savings in the US. This means the US has been importing savings from the rest of the world (by selling US securities to the rest of the world). But the equation always holds for the world as whole.
The quantities in the equation are not predetermined from year to year, and government actions affect them. The goal of government policy is to expand current and future incomes. When I analyze the auto bailout and the stimulus plan below, I judge them on whether they are likely to achieve this goal.