Avoiding envy is the wisest and best course of action because it includes giving up the race for status or honor. Ultimately, that is a race to nowhere.
Many philosophers, past and present, contend that character is the most fundamental dimension of the moral life. This is a theory known as virtue ethics.