Bhagavad Gita · 5.4
साङ्ख्ययोगौ पृथग्बालाः प्रवदन्ति न पण्डिताः।एकमप्यास्थितः सम्यगुभयोर्विन्दते फलम्॥
sāṅkhya-yogau pṛthag bālāḥ pravadanti na paṇḍitāḥ ekam apy āsthitaḥ samyag ubhayor vindate phalam
Only the ignorant speak of the path of knowledge (Sankhya) and the path of action (Yoga) as different. The wise know that one who is truly established in either path obtains the fruit of both.
— Bhagavad Gita 5.4
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)