The storyFrom Middle English, from towhile + -s; compare whiles.Etymology from Wiktionary, CC BY-SA 4.0.