Envy began as a look. The Latin verb behind it, invidere, joins in, "on" or "upon," to videre, "to see." Merriam-Webster glosses it as "to look askance at," and Wiktionary as "to look at with malice."
For the Romans this was more than a figure of speech. They believed envy came from the eyes and could do real harm. That harmful gaze is the evil eye, and a moment of great success, like a general's triumph, needed protection from it.
People protected themselves with charms. The fascinum, a phallic amulet, was worn by infants and soldiers as a remedy against envy. At a general's triumph, the Vestal Virgins hung one under his chariot to ward off invidia. Ovid gave envy a body in the Metamorphoses: a pale, squinting figure with a poisonous tongue, gnawing at others and gnawed herself.
From invidia came Old French envie (Merriam-Webster says Anglo-French), and English borrowed it as envie in the 13th century. The verb followed in the 14th. The newcomer displaced two native words. Old English anda had meant breath, emotion, envy and grudge. Nīþ covered envy, hatred and spite. Both faded as the French word took over.
Christian teaching gave the word extra weight. Invidia became one of the Seven Deadly Sins, which is why envy still sounds a shade darker than simple wanting.
English also tends to blur envy with jealousy. Merriam-Webster notes that both words are often used for coveting what someone else has, though jealousy leans toward protecting what you have, especially in romance. Envy, true to its roots, is about looking at what someone else has.
The same Latin verb lives on in quieter places. Invidious comes from the same invidia. Videre by itself gave English "video," a 1930s coinage modeled on "audio." Every time you watch one, you are using half of the Romans' word for the evil eye.