Thomas Jefferson said this quote

I hold it that a little rebellion now and then is a good thing, and as necessary in the political world as storms in the physical. Unsuccesful rebellions indeed generally establish the incroachments on the rights of the people which have produced them. An observation of this truth should render honest republican governors so mild in their punishment of rebellions, as not to discourage them too much. It is a medecine necessary for the sound health of government.