The French term for boredom, ennui, is sometimes used in English as well, at least since 1778. The term ennui was first used "as a French word in English;" in the 1660s and it was "nativized by 1758". The term ennui comes "from French ennui, from Old French enui "annoyance" (13c.), [a] back-formation from enoiier, anuier. "The German word for "boredom" expresses this: Langeweile, a compound made of lange "long" and Weile "while", which is in line with the common perception that when one is bored, time passes "tortuously" slowly.
“Boredom – the psychological state that we experience whenever we are uninterested in what we are currently doing – is one of the defining traits of humanity. Time is the psychological nemesis of humankind. Tedium, a fundamental angst of humankind, arises from human beings’ ability to perceive time and our attempts to derive meaning from our personal existence.”
The French loanword ennui comes from the very same Late Latin word that gave us annoy — inodiare ("to make loathsome"). We borrowed ennui several centuries after absorbing annoy into the language. Ennui deals more with boredom than irritation - and a somewhat specific sort of boredom at that. It generally refers to the feeling of jadedness that can result from living a life of too much ease. The poet Charles Lloyd described it well in his 1823 Stanzas to Ennui when he referred to that world-weary sensation as a "soul-destroying fiend" which visits with its "pale unrest / The chambers of the human breast / Where too much happiness hath fixed its home."