The war had barely begun, the summer of 1846, when a writer, Henry David Thoreau, who lived in Concord, Massachusetts, refused to pay his Massachusetts poll tax, denouncing the Mexican war. He was put in jail and spent one night there. His friends, without his consent, paid his tax, and he was released. Two years later, he gave a lecture, “Resistance to Civil Government,” which was then printed as an essay, “Civil Disobedience”:
“It is not desirable to cultivate a respect for the law, so much as for the right. .. . Law never made men a whit more just; and, by means of their respect for it, even the well-disposed are daily made the agents of injustice. A common and natural result of an undue respect for law is, that you may see a file of soldiers .. . marching in admirable order over hill and dale to the wars, against their wills, ay, against their common sense and consciences, which makes it very steep marching indeed, and produces a palpitation of the heart.”
His friend and fellow writer, Ralph Waldo Emerson, agreed, but thought it futile to protest. When Emerson visited Thoreau in jail and asked, “What are you doing in there?” it was reported that Thoreau replied, “What are you doing out there?”
"