it's very similar with the buddhist idea of removing what causes suffering within yourself, ie; if you want something you can't have, that causes suffering so simply change what you want.
like letting go of negative thoughts.

thats all i meant.