The earliest extant systematic account of yoga and a bridge from the earlier Vedic uses of the term is found in the Hindu Katha Upanisad (Ku), a scripture dating from about the third century BCE[…] [I]t describes the hierarchy of mind-body constituents—the senses, mind, intellect, etc.—that comprise the foundational categories of Sāmkhya philosophy, whose metaphysical system grounds the yoga of the Yogasutras, Bhagavad Gita, and other texts and schools (Ku3.10–11; 6.7–8).
Mental illness is described as 'the spectrum of cognitive, emotional, and behavioral conditions that interfere with social and emotional well-being and the lives and productivity of people. Having a mental illness can seriously impair, temporarily or permanently, the mental functioning of a person. Other terms include: 'mental health problem', 'illness', 'disorder', 'dysfunction'.
^ Werner writes, "The word Yoga appears here for the first time in its fully technical meaning, namely as a systematic training, and it already received a more or less clear formulation in some other middle Upanishads....Further process of the systematization of Yoga as a path to the ultimate mystic goal is obvious in subsequent Yoga Upanishads and the culmination of this endeavour is represented by Patanjali's codification of this path into a system of the eightfold Yoga."
Yogaśataka a Jain work by Haribhadra Suri 6th century CE "With conviction, the lords of Yogins have in our doctrine defined yoga as the concurrence (sambandhah) of the three [correct knowledge (sajjñana), correct doctrine (saddarsana) and correct conduct (saccaritra)] beginning with correct knowledge, since [thereby arises] conjunction with liberation....In common usage this [term] yoga also [denotes the soul’s] contact with the causes of these [three], due to the common usage of the cause for the effect. (2, 4).
Description of an early form of yoga called nirodhayoga (yoga of cessation) is contained in the Mokshadharma section of the 12th chapter (Shanti Parva) of the Mahabharata (third century BCE). Nirodhayoga emphasizes progressive withdrawal from the contents of empirical consciousness such as thoughts, sensations etc. until purusha (Self) is realized. Terms like vichara (subtle reflection), viveka (discrimination) and others which are similar to Patanjali's terminology are mentioned, but not described. There is no uniform goal of yoga mentioned in the Mahabharata. Separation of self from matter, perceiving Brahman everywhere, entering into Brahman etc. are all described as goals of yoga. Samkhya and yoga are conflated together and some verses describe them as being identical. Mokshadharma also describes an early practice of elemental meditation. Mahabharata defines the purpose of yoga as the experience of uniting the individual ātman with the universal Brahman that pervades all things. https://www.facebook.com/Buzzing-Offer-Digital-Marketing-1107247206148320/