In his book called Kingdom Conspiracy, Scot McKnight argues that kingship was plan B for Israel. That is not right. The kingship was plan X, an evil plan.
Kingship was not a suggestion by God. The people chose to have a king by copying the evil nations around them. Yet copying the nations was exactly what God had told them not to do.
God relented and gave them a king. He was able to use some kings to achieve his purposes, but they were never part of his plan.