Bhagavad-gītā As It Is · Text 6.45
Spiritual effort is not lost
प्रयत्नाद्यतमानस्तु योगी संशुद्धकिल्बिष: ।
अनेकजन्मसंसिद्धस्ततो याति परां गतिम् ॥ ४५ ॥
prayatnād yatamānas tu
yogī saṁśuddha-kilbiṣaḥ
aneka-janma-saṁsiddhas
tato yāti parāṁ gatim
And when the yogī engages himself with sincere endeavor in making further progress, being washed of all contaminations, then ultimately, achieving perfection after many, many births of practice, he attains the supreme goal.
Read Śrīla Prabhupāda's purport on Vedabase.io