Bertrand Russell said this quote

Where envy is unavoidable it must be used as a stimulus to one’s own efforts, not to the thwarting of the efforts of rivals.