Parton gave hopeful expression to songs she wrote about the hard times and hard-won triumphs of her life.