Proverbs 28:2 says in part,
“Because of the transgression of a land, many are its princes…”
First Kings 16:15-20 illustrates that well. Zimri became king of Israel and after seven days there was a confrontation between his forces and those of another man whom Israelites had crowned as king.
When Zimri saw that he could not prevail,
“he went into the citadel of the king’s house and burned the king’s house down upon himself with fire, and died” (1 Kings 16:18).
The next verse explains why, “because of the sins which he had committed in doing evil in the sight of the LORD, in walking in the way of Jeroboam, and in his sin which he had committed to make Israel sin” (1 Kings 16:19).
Walking in sin does not pay off, but the sinner has to pay a heavy price, even if he is a king.