The balancing of thought is critical in the course of development - the rise to consciousness. Most teachings advance the need to be in control of what you think, as much as what you do. Putting this to practice does not mean that as a human, one is perfected in thought, but that serious attempts are made to balance the ones that arise. By paying conscious attention to the way one thinks and what one thinks, a person begins to see personal patterns of thought arise that seek balance and close attention. In an orderly universe there are no accidents nor coincidences.
All actions are exteriorizations of thought, whether balanced or imbalanced.
Often people see events as the will of God, but it may be better stated that God wills justice according to the measures that you mete. Religious doctrines argue that man's thinking takes him away from God and intellectualizes a human spiritual process that is best left tended only by God and his mysterious methods. There indeed comes a point in every course of spiritual development where the thinking human turns away from all mention of God and considers atheism because of the farcity, human oriented intent, and other multitudinous, non-spiritual aspects of religion. Studies of various science and philosophical systems offer branching avenues of thought both inclusive and exclusive of God. That same thinking human after plodding through myriads of earthly and unearthly experience, once again turns to SELF and admits that there is indeed a God, albeit of a different definition than the surface God that is being represented to the masses.