Bhagavad Gita · 2.53
श्रुतिविप्रतिपन्ना ते यदा स्थास्यति निश्चला।समाधावचला बुद्धिस्तदा योगमवाप्स्यसि॥
śhruti-vipratipannā te yadā sthāsyati niśhchalā samādhāv achalā buddhis tadā yogam avāpsyasi
When your intellect, bewildered by conflicting scriptures, stands firm and steady in the Self, then you will attain yoga.
— Bhagavad Gita 2.53
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)