There is a verse in Śrīmad-Bhāgavatam in connection with instruction of Nārada Muni to Vyāsadeva. And Vyāsadeva was disciple of Nārada Muni, and Vyāsadeva compiled so many Vedic literatures—Mahābhārata, Purāṇas, Vedānta-sūtra, Upaniṣads, various types of . . . not types; practically the same Vedas, divided into departmental knowledge for understanding of the common people.
Just like Mahābhārata. Mahābhārata is the history of India. Mahā means great, and bhārata means India. And you see, Mahābhārata is the history of two royal families fighting in the Battle of Kurukṣetra and politics and diplomacy. This is the subject matter of Mahābhārata. Of course, there are many nice instructions.