The Enlightenment thinker who believed that if a government was corrupt, the people should remove it was John Locke.
Locke was an English philosopher who lived in the 17th century and was a key figure in the Enlightenment period. He argued that government should be based on a social contract between the rulers and the ruled, and that the purpose of government is to protect the natural rights of individuals, including life, liberty, and property.