I really hope there IS a god or something, and all the bad things that happen to me is his/her ‘plan’, so to speak, or some purpose to my life and where it’s going.
But if you’re non-religious (like me), you can also say ‘I make my own purpose’ and get on with that.
Right now my feeling is, make life as enjoyable and as comfortable as you can for yourself and help others to achieve that same goal. Whether that’s activism, charity work, or just being a nice person.