Everything happens for a reason, whether or not you know what it is. There are no accidents. We live in an orderly universe governed strictly by law, and this understanding is central to every other law or principle.
Everything you are or ever will be, will be as a result of the way you think. If you change the quality of your thinking, you change the quality of your life. The change in your outer experience will follow the change in your inner experience. You will reap what you sow. You are doing it right now.