Verse 2

संसारस्यास्य दुःखस्य सर्वोपद्रवदायिनः ।उपाय एक एवास्ति मनसः स्वस्य निग्रहः

In plain words

For this saṃsāra, this suffering that gives rise to every calamity, there is one single means, and one alone: the mastery of one's own mind.