You don’t always have to do the right thing, or the thing that benefits you. Sometimes you choose the path just because it isn’t the wrong thing. It is a truth of life that you must accept: You are not guaranteed happiness. You are not guaranteed success. You don’t always get to be the hero.
But god damn, you can try your hardest not to be the villain. You can avoid the path that leads to misery and despair, in yourself and in others. If you manage that, and the path you take instead just leads nowhere, then so be it. Take those steps, hard as they might be, endlessly as they might stretch out before you. It’s hard, and there may be no reward. Do it anyway.