No man is to be respected above another person in a form of unrighteous judgment. However, does not infer nondiscrimination in every matter.
God provided Israel with qualities they should desire in a king. In short, when the king ceased to be right with God, he ceased to be right for the people.
Thrones and empires are terminated because of the unruly evil of sin. As such, they rise or fall based upon their choice to sin or their refusal to partake therein.