early 15c., "pains taken to attain an object," literally "in duty," from phrase put (oneself) in dever "make it one's duty" (a partial translation of Old French mettre en deveir "put in duty"), from Old French dever "duty," from Latin debere "to owe," originally, "keep something away from someone," from de- "away" (see de-) + habere "to have" (from PIE root *ghabh- "to give or receive"). One's endeavors meaning one's "utmost effort" is from late 15c.