Q.86: What is forbidden in the tenth commandment?
A. The tenth commandment forbids all discontentment with our own estate, envying or grieving at the good of our neighbor, and all inordinate motions and affections to anything that is his.
But if you have bitter envy and self-seeking in your hearts, do not boast and lie against the truth. James 3:14
For where envy and self-seeking exist, confusion and every evil thing are there. James 3:16