While in prison, Thoreau developed many of the ideas that are present both in Resistance to Civil Government and in Walden. One of the most significant ideas that Thoreau developed is that of questioning the authority of the government. Thoreau argues that the government might sometimes create laws that go against the morality and ethical principles of people. Thoreau believes that, when this happens, the government has no authority to force people to act against their morals. Instead, people should always act according to their values, even when this means disobeying the government.