A verse from the Upanishads:
As your desire is, so is your will. As your will is, so is your deed. As your deed is, so is your destiny.
One of my own primary spiritual practices is to keep an eye on my thoughts and desires and try to catch the ones that might harm me or others before they become deeds.