"to cause (time) to pass without dullness, 1635, earlier "to occupy or engage (someone or something) for a period of time" (1606), new formation from while (n.), not considered to be from M.E. hwulen "to have leisure," which is from a Gmc. verb form of while
(n.) (cf. Ger. weilen "to stay, linger"). An association with phrases such as Shakespearean beguile the day, L. diem decipere, Fr. tromper le temps "has led to the substitution of WILE v by some modern writers" [OED] (see wile).