(Pro 24:1 KJV) Be not thou envious against evil men, neither desire to be with them.
The KJV uses a word that is not in the Hebrew so it is not technically correct but is a helpful comment on the problem. The word is “against”. Envy is not just a desire for the things that a person has but is an attack against the person. I think that is an important distinction.
When we look at the wealth, status, looks, personality or any other quality of another person and feel disenfranchised because we don’t have it, part of that lusting is an attack on the other person. It at least generates hostile thoughts and those will effect our actions. It is not just wanting the thing, it is wanting them not to have it.
So? It really does not hurt us to work on being satisfied with what we have instead of always striving for more. I know that danger of that is complacency and sloth. I know it can sound like a condemnation of worthy ambitions. Some need to try harder but in America a large group are selling their family’s future to get ahead. Balance.