The Bible says that envy and jealousy are sins and they are to be avoided. Galatians 5:19-21, “The acts of the flesh are obvious: sexual immorality, impurity and debauchery; idolatry and witchcraft; hatred, discord, jealousy, fits of rage, selfish ambition, dissensions, factions and envy; drunkenness, orgies, and the like. I warn you, as I did before, that those who live like this will not inherit the kingdom of God.” That means that we must avoid envy and jealousy along with all the sins of the flesh but while envy and jealousy are both sins they are not exactly the same...
Article Link