When you are carrying debt and running deficits there is no such thing as a rainy day fund, only borrowed money you haven't spent yet.
The GM shares , for example, were not borrowed money. They weree shares owned, and then cashed in at a loss, for political purposes. You may need an update on basic economics.