Yoga Sutras of Patanjali 3.51
तद्वैराग्यादपि दोषबीजक्षये कैवल्यम् ॥
tad-vairagyad api dosha-bija-kshaye kaivalyam
By non-attachment even to that, the seed of bondage is destroyed, and liberation follows.
उस (वैभव) के भी वैराग्य से दोष-बीज का क्षय होकर कैवल्य प्राप्त होता है।