Yōga Sūtra 2.26
विवेकख्यातिरविप्लवा हानोपायः।
vivēkakhyātiraviplavā hānōpāyaḥ।
[विवेक ख्यातिः अविप्लवा हानः उपायः।
vivēka = discriminative knowledge; khyātiḥ = fame; aviplavā = uninterrupted; hānaḥ = abandonment; upāyaḥ = is the solution;]
Uninterrupted discriminative knowledge and abandonment of pursuit of fame are the solutions.