Throughout his life, Thoreau emphasized the importance of individuality and self-reliance. He practiced civil disobedience in his own life and spent a night in jail for his refusal to pay taxes in protest of the Mexican War. ... It is thought that this night in jail prompted Thoreau to write Civil Disobedience.
Thoreau begins Civil Disobedience by saying that he agrees with the motto, "That government is best which governs least." Indeed, he says, men will someday be able to have a government that does not govern at all. As it is, government rarely proves useful or efficient.