Śrīmad-Bhāgavatam · Text 4.7.14
Who is speaking and story frame
विद्यातपोव्रतधरान् मुखत: स्म विप्रान्
ब्रह्मात्मतत्त्वमवितुं प्रथमं त्वमस्राक् ।
तद्ब्राह्मणान् परम सर्वविपत्सु पासि
पाल: पशूनिव विभो प्रगृहीतदण्ड: ॥ १४ ॥
vidyā-tapo-vrata-dharān mukhataḥ sma viprān
brahmātma-tattvam avituṁ prathamaṁ tvam asrāk
tad brāhmaṇān parama sarva-vipatsu pāsi
pālaḥ paśūn iva vibho pragṛhīta-daṇḍaḥ
My dear great and powerful Lord Śiva, you were created first from the mouth of Lord Brahmā in order to protect the brāhmaṇas in pursuing education, austerities, vows and self-realization. As protector of the brāhmaṇas, you always protect the regulative principles they follow, just as a cowherd boy keeps a stick in his hand to give protection to the cows.
Read Śrīla Prabhupāda's purport on Vedabase.io