Think about 'Wrong' and what it is...
'Wrong' is a judgement against an expectation.
But the action taken, the behaviour, was right for that individuals context, understanding and goal, at the time the action occurred.
So the two are disconnected, in that, just a judgement against an expectation can never get it (an action) to be 'right'.
'Right' is also, just a judgment against an expectation.
And again, the action taken, the behaviour was right for that individual, their context, understanding and goal, but not because of the expectation or rule itself.
Right and wrong are just human constructs. And in themselves, not enough to drive behaviour.