Composed for those debarred from the Trayi
'Strī-śūdra-dvija-bandhūnāṁ trayī na śruti-gocarā' (SB 1.4.25).
महाभारत
The Mahabharata is the world's longest epic poem (≈100,000 verses): composed by Vyasa, the history of the Kuru-Pandava war containing the Bhagavad-gita — the encyclopedia of Indian civilization. SB 1.4.25: Vyasa composed the 'Bhārata-mākhya' out of compassion for those debarred from the Trayi; SB 1.4.29: through it the āmnāya's meaning is displayed.
Śrīmad Bhāgavata Mahāpurāṇa 1.4.25 — Sanskrit Wikisource (pinned oldid=110175)
'Strī-śūdra-dvija-bandhūnāṁ trayī na śruti-gocarā' (SB 1.4.25).
'Bhārata-vyapadeśena hy āmnāya-arthaś ca darśitaḥ' (SB 1.4.29).