sankhya-yogau prthag balah
pravadanti na panditah
ekam apy asthitah samyag
ubhayor vindate phalam
sankhya—analytical study of the material world; yogau—work in devotional service; prthak—different; balah—less intelligent; pravadanti—do talk; na—never; panditah—the learned; ekam—in one; api—even though; asthitah—being situated; samyak—complete; ubhayoh—of both; vindate—enjoys; phalam—result.
Only the ignorant speak of karma-yoga and devotional service as being different from the analytical study of the material world [sankhya]. Those who are actually learned say that he who applies himself well to one of these paths achieves the results of both.
The aim of the analytical study of the material world is to find the soul of existence. The soul of the material world is Visnu, or the Supersoul. Devotional service to the Lord entails service to the Supersoul. One process is to find the root of the tree, and next to water the root. The real student of sankhya philosophy finds the root of the material world, Visnu, and then, in perfect knowledge, engages himself in the service of the Lord. Therefore, in essence, there is no difference between the two because the aim of both is Visnu. Those who do not know the ultimate end say that the purposes of sankhya and karma-yoga are not the same, but one who is learned knows the unifying aim in these different processes.
Link to this page: https://prabhupadabooks.com/bg/5/4