Robert Lynn Asprin said this quote

When things are at their blackest, I say to myself, 'Cheer up, things could be worse.' And sure enough, they get worse.