To undertake a genuine spiritual path is not to avoid difficulties but to learn the art of making mistakes wakefully, to bring to them the transformative power of our heart.
When thus the truth is seen, desire to possess does not arise in the heart. Even as a woman who has a lover goes about doing her housework with her heart absorbed in contemplation of that lover, the enlightened sage functions in this world while his consciousness is firmly established in the truth.
In both these ases it is impossible for anyone to prevent such behavior - i.e. make the woman forget her love for make the sage forget the truth.
All of you knowing now, Tthat the Buddhas, the Teachers of the Ages, In accord with what is peculiarly appropriate, have recourse to expedient devices, Need have no more doubts or uncertainties. Your hearts shall give rise to great joy, Since you know that you yourselves Shall become Buddhas.
Buddha (563 - 483 BC)
Source: Scripture of the lotus blossom of the fine dharma - Page 47 by Leon Hurvitz, Kumārajīva
A failproof formula for liberation: dare to keep expanding your heart even if you've been justifiably wounded by pain or disappointment. The effort is never wasted.