Bhagavad Gita Chapter 5.4
sāńkhya-yogau pṛthag bālāḥ
pravadanti na paṇḍitāḥ
ekam apy āsthitaḥ samyag
ubhayor vindate phalam
Translation
Only the ignorant speak of devotional service [karma-yoga] 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.