The question that is always on everybody's mind is, why did this happen to me? G-d shapes and determines your future based on what you have done. Good things and bad things happen to you because it's a way of shaping your ultimate destiny based on what you have already done. Why do good people suffer and bad people prosper? It is G-d's way of creating a perfect existence in the future. But we must remember that G-d created us in order to bestow goodness upon us - so not all goodness we receive in this world is directly contingent upon our good deeds. Our free will gives G-d an additional tool to judge us and to make us create our own futures.