advantage (n.)

early 14c., avantage, "position of being in advance of another," from Old French avantage "advantage, profit; superiority" (12c.), from avant "before," probably via an unrecorded Late or Medieval Latin *abantaticum, from Latin abante "from before," composed of ab "from" (see ab-) + ante "before, in front of, against" (from PIE root *ant- "front, forehead"). Compare advance (v.).

Advantage is the possession of a good vantage-ground for the attainment of ulterior objects of desire .... [Century Dictionary]

The unetymological -d- is a 16c. intrusion on the analogy of Latin ad- words. Meaning "any condition favorable to success, a favoring circumstance" (the opposite of a disadvantage) is from late 15c. Tennis score sense is from 1640s (in the writings of John Milton). Phrase to take advantage of is from late 14c. as "avail oneself of," also "impose upon." To have the advantage of (someone) "have superiority over" is from 1560s.

Definitions of advantage
advantage (n.)
(tennis) first point scored after deuce;
advantage (n.)
benefit resulting from some event or action;
it turned out to my advantage
Synonyms: reward
advantage (n.)
the quality of having a superior or more favorable position;
the experience gave him the advantage over me
Synonyms: vantage
advantage (v.)
give an advantage to;
This system advantages the rich