Moral Luck... a quick, borrowed, definition for you:
"Moral luck is the phenomenon whereby a moral agent is assigned moral blame or moral praise for an action or its consequences even when it is clear that the agent in question did not have full control over either the action or its consequences. This term was introduced by Bernard Williams, and the question of moral luck – including its significance to a coherent moral theory – has been initially developed by Williams and Thomas Nagel in their essays on the topic."
More on the idea of Moral Luck
Morality vs Ethics, an opinion to live by...