All systems of morality are based on the idea that an action has consequences that legitimize or cancel it.
 Albert Camus, The Myth of Sisyphus (1942). copy citation

add
Author Albert Camus
Source The Myth of Sisyphus
Topic morality action
Date 1942
Language English
Reference
Note Translated by Justin O'Brien
Weblink http://www2.hawaii.edu/~freeman/courses/phil360/16.%20Myth%20of%20Sisyph...

Context

“It does not recommend crime, for this would be childish, but it restores to remorse its futility. Likewise, if all experiences are indifferent, that of duty is as legitimate as any other. One can be virtuous through a whim. All systems of morality are based on the idea that an action has consequences that legitimize or cancel it. A mind imbued with the absurd merely judges that those consequences must be considered calmly. It is ready to pay up. In other words, there may be responsible persons, but there are no guilty ones, in its opinion.” source