Verse 30

आत्मज्ञानादृते तच्च शास्त्रार्थात्समवाप्यते ।अविद्यासरितः पारमात्मलाभादृते किल

In plain words

except through knowledge of the Self; and that is gained from the meaning of the śāstras. The far shore of the river of avidyā, indeed, except through attainment of the Self,