I'd go further and argue that city-states make the most sense in today's world, with a federal government to arbitrate resources and defense. US state boundaries are quite arbitrary with respect to how actual communities are organized on the map.
But you have an option to move to a new state that fits your beliefs. Much harder to do when it is a Federal system with a single law for all thr lands.
There are plenty of examples of more local politics leading to worse outcomes. For example: balkanized cities zoning for too many offices and not enough housing, and jurisdictions racing to the bottom of tax policy to entice business.
There are plenty of examples where Federal law created worse outcomes in a particular locality, but is much harder to change the law because its Federal.
I'm not claiming the federal government is better. Only that it isn't obvious that more local = automatically better. Both approaches have drawbacks and advantages.