When we give thanks in all things, we see hardships and adversities in the context of the purpose of life.