upvote
Only in certain fucked up moral systems. Though I guess Confucianism would be one of those:

>The Duke of She said to Confucius, “Among my people there is one we call ‘Upright Gong.’ When his father stole a sheep, he reported him to the authorities.”

>Confucius replied, “Among my people, those who we consider ‘upright’ are different from this: fathers cover up for their sons, and sons cover up for their fathers. ‘Uprightness’ is to be found in this.”

-from the Confucian Analects

reply
That would be a very unusual perspective, at least in the western world and specifically the United States which has a legal and moral system broadly constructed on a mixture social trust and rule of law and we take into consideration both intent and effect in our moral judgements. There are certainly cases, for example someone cheated on a test but that test allowed them to achieve some greater good, that we can modify our moral beliefs on but there's no clear perspective that would suggest both would be bad. That really doesn't make sense.
reply