Chapter 4 · Knowledge and Renunciation of Action · Krishna said
Bhagavad Gita 4.36 — The boat of knowledge
अपि चेदसि पापेभ्यः सर्वेभ्यः पापकृत्तमः। सर्वं ज्ञानप्लवेनैव वृजिनं सन्तरिष्यसि ॥
api cedasi pāpebhyaḥ sarvebhyaḥ pāpakṛttamaḥ | sarvaṃ jñānaplavenaiva vṛjinaṃ santariṣyasi ||
Meaning
Even if you were the worst of all sinners, you would cross over all sin with the boat of knowledge.