I got this in my notebook. ' Success is getting what u want. Happiness wants what u get.'
For most of us, all our actions are tainted by worldly concerns for gain, name, pleasure , praise and hence their opposites of loss, shame, displeasure, and blame. This is the self cherishing attitude which accompanies whatever success we achieve in life . We may call it success but getting what we want does not necessarily equate with true happiness.
If we are wise and define success by the measure of how much happiness we receive, how lasting that happiness is and how much others benefit from our actions, then the latter part of the quote makes sense. True happiness for oneself and others come from giving, not taking.