Svargārohaṇa-parva Adhyāya 5 — Karmaphala-Nirdeśa and Phalāśruti (कर्मफलनिर्देशः फलश्रुतिश्च)
अनागतश्र मोक्षश्न कृष्णद्वैपायन: प्रभु: । संदर्भ भारतस्यास्य कृतवान् धर्मकाम्यया
anāgataśramokṣajñaḥ kṛṣṇadvaipāyanaḥ prabhuḥ | saṃdarbhya bhāratasyāsya kṛtavān dharmakāmyayā ||
Vaiśampāyana dijo: «El venerable Kṛṣṇa Dvaipāyana (Vyāsa), que conocía el medio de alcanzar el mokṣa y librarse de las fatigas aún por venir, compuso y ordenó este Bhārata movido por el deseo de sostener el dharma».
वैशम्पायन उवाच
The epic is presented as a deliberately crafted guide: Vyāsa, knowing how beings can be freed from future suffering, composes the Bhārata with the intention of strengthening dharma—so that ethical discernment and right conduct may lead toward liberation.
The narrator Vaiśampāyana attributes the composition and arrangement of the Mahābhārata to Vyāsa, emphasizing his authority and his motive: the work is woven together not merely as history, but as a dharma-oriented teaching meant to benefit listeners and readers.