Elect
late Middle English: from Latin elect- ‘picked out’, from the verb eligere, from e- (variant of ex- ) ‘out’ + legere ‘to pick’.
wiktionary
Borrowed from Latin ēlēctus, past participle of ēligō(“to pick out, choose, elect”), from ē-(“out”) + legō(“to pick out, pick, gather, collect, etc.”); see legend.
Cognate to eclectic, which is via Ancient Greek rather than Latin, hence prefix ἐκ(ek), rather than e- (from ex).
etymonline
elect (v.)
early 15c., "to choose for an office, position, or duty," from Latin electus, past participle of eligere "to pick out, choose," from ex "out" (see ex-) + -ligere, combining form of legere "to choose," from PIE root *leg- (1) "to collect, gather." Related: Elected; electing.
elect (adj.)
early 15c., of action, "voluntary;" of persons, "taken in preference to others," especially "chosen by God for some special purpose," from Latin electus, past participle of eligere "to pick out, choose," from ex "out" (see ex-) + -ligere, combining form of legere "to choose," from PIE root *leg- (1) "to collect, gather." The noun meaning "those chosen by God" is from early 15c.