The law of cause and effect is also called the law of karma.
Every action generates a force of energy that retuns to us in like kind . . what we sow is what we reap.
When we choose action that bring happiness and success to others, the fruit of our karma is happiness and success.