www.stephen-foster-songs.de is a beautiful site with many of Foster's songs. He wrote a number of songs about sad happenings such as leaving, and dying and "Hard Times" is one of them. He may have had no particular event in mind. Maybe he didn't get paid by the Christie Minstrels for whom he wrote several pieces and couldn't buy a supply of the good old stuff..