Bhagavad Gita · 13.26
अन्ये त्वेवमजानन्तः श्रुत्वान्येभ्य उपासते।तेऽपि चातितरन्त्येव मृत्युं श्रुतिपरायणाः॥
anye tv evam ajānantaḥ śhrutvānyebhya upāsate te 'pi chātitaranty eva mṛtyuṁ śhruti-parāyaṇāḥ
Yet others, not knowing these paths, worship by hearing from others. They too cross beyond death, being devoted to what they have heard.
— Bhagavad Gita 13.26
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)