According to John Locke, rulers must respect the rights of the citizens.
Locke believed governments exist by the consent of the people, through a "social contract", to protect their rights and promote public good. Governments that fail to do that can be resisted by the people and be replaced.