In theory, federal spending can help stimulate demand, which helps the overall economy grow. This idea that the government should spend money to stimulate demand is the central theory behind Keynesian economics.