Bhagavad Gita, Chapter 7, Verse 28
Those men of virtuous deeds, whose sin has come to an end, they, freed from the delusion of the pairs of opposites, worship Me with firm resolve.
That confusion isn't described as permanent, real, sustained effort is shown here as capable of actually clearing it.
This offers a real way out of the pattern just named. Not everyone stays stuck in that pull between craving and aversion, sustained, genuine effort is described as actually dissolving it, opening the way to steadier devotion.