To live is to suffer, to survive is to find meaning in the suffering.
If there is a purpose in life at all, there must be a purpose in suffering and in dying.
But no one can tell you what your purpose is. You must find out for yourself and must accept the responsibility that the answer prescribes.
If you succeed you will continue to grow despite any and all indignities.
Your suffering will bring you joy.