Ping
All law has a moral component. Or, to phrase it another way, all laws contain a “should.”
I believe that liberty is the state that the Lord desires for mankind.
But He knew that with our fallen nature we would misuse and abuse it. He let the Children of Israel go without a king so that they would learn, and mankind also, that doing what was right in their own sight would leave to anarchy and evil for the people.
Only with a God-anointed and God-fearing king would peace and blessings multiply. Even then, if the king turned away from the Lord, bad things would happen.
Only Christ is our perfect king. And one great thing about Him is that if we follow Him, then regardless of the situation around us, we will triumph in His Grace in the end.
Of course, I cannot supply a theological support for any but the last paragraph, but it makes sense to me.