Abraham H. Maslow said this quote

The question of desirable grief and pain or the necessity for it must also be faced. [Are] growth and self-fulfillment possible at all without pain and grief and sorrow and turmoil? If grief and pain are sometimes necessary for growth of the person, then we must learn not to protect people from them automatically as if they were always bad. Not allowing people to go through their pain, and protecting them from it, may turn out to be a kind of overprotection, which in turn implies a certain lack of respect for the integrity and the intrinsic nature and the future development of the individual.