Thomas Hobbes said this quote
“ Another doctrine repugnant to civil society, is that whatsoever a man does against his conscience, is sin; and it dependeth on the presumption of making himself judge of good and evil. For a man's conscience and his judgement are the same thing, and as the judgement, so also the conscience may be erroneous. ”