How did Thoreau justify this act of civil disobedience?

He disagreed with increasing taxes for the lower classes.

He disapproved of the increasing taxes to fund mainly urban areas.

He objected to tax money being used to pay for the U.S.-Mexican War.

He refused to provide tax money to a government that supported the Civil War.

Thoreau justified his act of civil disobedience by objecting to tax money being used to pay for the U.S.-Mexican War and the government's support of the Civil War. He believed it was immoral to contribute financially to wars that he considered unjust.