Charak Samhita
सर्वभावस्वभावज्ञो यया भवति निःस्पृहः। योगं यया साधयते साङ्ख्यः सम्पद्यते यया ॥१७॥
After this, one realizes the true nature of all beings which brings about detachment to things i.e., one becomes desire less leading to attainment of yogic power and accomplishment of samkhya (knowledge of all categories).
english translation
sarvabhAvasvabhAvajJo yayA bhavati niHspRhaH। yogaM yayA sAdhayate sAGkhyaH sampadyate yayA ॥17॥
hk transliteration by Sanscript