When we do the right thing we often tend to think in terms of output.
I spoke of the injustice so they would see and fix it.
I called out that person for their behavior so they would be punished.
I studied hard for this exam so I would pass.
I have shared my experience so you would not make the same mistake.
But doing the right thing is more of a matter of input.
It is your values, your story, your purpose that you feed into the thing to make it right. What happens after should really not be that important.