yat sankhyaih prapyate sthanam
tad yogair api gamyate
ekam sankhyam ca yogam ca
yah pasyati sa pasyati
yat—what; sankhyaih—by means of sankhya philosophy; prapyate—is achieved; sthanam—place; tat—that; yogaih—by devotional service; api—also; gamyate—one can attain; ekam—one; sankhyam—analytical study; ca—and; yogam—action in devotion; ca—and; yah—one who; pasyati—sees; sah—he; pasyati—actually sees.
One who knows that the position reached by means of renunciation can also be attained by works in devotional service and who therefore sees that the path of works and the path of renunciation are one, sees things as they are.
The real purpose of philosophical research is to find the ultimate goal of life. Since the ultimate goal of life is self-realization, there is no difference between the conclusions reached by the two processes. By sankhya philosophical research one comes to the conclusion that a living entity is not a part and parcel of the material world, but of the supreme spirit whole. Consequently, the spirit soul has nothing to do with the material world; his actions must be in some relation with the Supreme. When he acts in Krsna consciousness, he is actually in his constitutional position. In the first process of sankhya, one has to become detached from matter, and in the devotional yoga process one has to attach himself to the work of Krsna. Factually, both processes are the same, although superficially one process appears to involve detachment and the other process appears to involve attachment. However, detachment from matter and attachment to Krsna are one and the same. One who can see this sees things as they are.
Link to this page: https://prabhupadabooks.com/bg/5/5