Henry David Thoreau said this quote

Must the citizen ever for a moment, or in the least degree, resign his conscience, then? I think that we should be men first, and subjects afterward. It is not desirable to cultivate a respect for the law, so much as for the right.