If a ruler is immoral, he would be criticized by his ministers and the people, and the people may overthrow him, such as Shang Tang’s defeat of Xia Jie (夏桀), the last emperor of the Xia Dynasty (夏朝), who was a tyrant.
SHANG TANG DEFEATED XIA JIE WHO WAS THE LAST EMPEROR OF THE XIA DYNASTY.