Resentful discontent at wanting something another person has.
Resentful discontent at wanting something another person has — a quality, possession, or success you lack.
The discontent or resentment at coveting what another already possesses (a two-person situation: you and the person who has it). Per the classic distinction, “envy is enmity prompted by covetousness; jealousy is enmity prompted by fear.” In common usage “jealous” is very often used loosely for “envious,” so the strict split is usage-guidance more than how the words always behave.
Late 13c., from Latin invidia “envy,” from invidere “to envy,” earlier literally “to look upon (with malice), cast an evil eye upon” (in- “upon” + videre “to see”).
Words for “envy” mostly had a hostile force from the outset (based on “look at with malice”), whereas the terms that became words for “jealousy” often also had a good sense (“zeal, emulation”). The older “malice” sense of envy is now obsolete. No reliable recent-generation shift.