Verse 42

ततः स करुणाक्रान्तमना भूतविभूतये ।करोतीह महार्थानि शास्त्राणि विविधानि च

In plain words

Then he, his mind overcome with compassion, composes here, for the welfare of beings, śāstras of great import, of many and various kinds —