match (n.1) Look up match at Dictionary.com
"stick for striking fire," late 14c., macche, "wick of a candle or lamp," from Old French meiche "wick of a candle," from Vulgar Latin *micca/*miccia (source also of Catalan metxa, Spanish mecha, Italian miccia), probably ultimately from Latin myxa, from Greek myxa "lamp wick," originally "mucus," based on notion of wick dangling from the spout of a lamp like snot from a nostril, from PIE root *meug- "slimy, slippery" (see mucus). Modern spelling is from mid-15c. (English snot also had a secondary sense of "snuff of a candle, burnt part of a wick" from late 14c., surviving at least to late 19c. in northern dialects.)

Meaning "piece of cord or splinter of wood soaked in sulfur, used for lighting fires, lamps, candles, etc." is from 1530. First used 1831 for the modern type of wooden friction match, and competed with lucifer for much of 19c. as the name for this invention.
match (n.2) Look up match at Dictionary.com
"one of a pair, an equal," Old English mæcca, "companion, mate, one of a pair, wife, husband, one suited to another, an equal," from gemæcca, from Proto-Germanic *gamakon "fitting well together" (cognates: Old Saxon gimaco "fellow, equal," Old High German gimah "comfort, ease," Middle High German gemach "comfortable, quiet," German gemach "easy, leisurely"), from PIE root *mak-/*mag- "to fit" (see make (v.)). Middle English sense of "matching adversary, person able to contend with another" (c.1300) led to sporting meaning "contest," first attested 1540s.
match (v.) Look up match at Dictionary.com
"to join one to another" (originally especially in marriage), late 14c., from match (n.2). Meaning "to place (one) in conflict with (another)" is from c.1400. That of "to pair with a view to fitness" is from 1520s; that of "to be equal to" is from 1590s. Related: Matched; matching.