And a lot of people would point out that in the Bible, the Isrealites were far better off under Judges than under Kings with their extra-marital affaris, rapes, and blasphemies.
I think David, Solomon, et al were Yaheweh’s punishment on the Israelites for demanding Kings like the nations around them.