Consider what God has done:

Who can straighten
what he has made crooked?
When times are good, be happy;
but when times are bad, consider this:
God has made the one
as well as the other.
Therefore, no one can discover
anything about their future.

In this meaningless life of mine I have seen both of these:

the righteous perishing in their righteousness,
and the wicked living long in their wickedness.
Do not be overrighteous,
neither be overwise—
why destroy yourself?
Do not be overwicked,
and do not be a fool—
why die before your time?
It is good to grasp the one 
   and not let go of the other. 
   Whoever fears God will avoid all extremes.

Ecclesiastes 7.13-18

** As a side note if you want to figure out your purpose read this book. Don’t forget who it is pointing to as it directs us to focus on Christ and not of things of this world. **