Premanand Maharaj Ji
Why do I fail despite working in the right direction, and what can I do about it?
Chant the Name to bear failure with joy
If prarabdh, the fruit of past karma, is bad, even great effort ends in failure, while good prarabdh gives success with little effort. Chant the Name of Bhagwan, which can set prarabdh right and bring joy even in failure.
If you chant the Name, then granted that prarabdh is strong and will make you fail, even in that failure you will experience joy.