but god assures us that only in this life is sorrow and pain brief but necessary for us to learn from so we can appreciate those things that are good as well as to encourage us to have compassion for others who suffer .