Verse 25

शास्त्रसज्जनसंपर्कसंतताभ्यासयोगतः ।जागतानामवस्तुत्वं भावानामवगम्यते

In plain words

Through contact with śāstra and with the good, joined with continual practice, the unreality of the states of this world of appearance is understood.