A funny thing about hierarchical societies is virtually all of them figured out they needed a welfare system of some kind and a way to redistribute food and other resources so people wouldn't just rise up and murder them.
It's only comparatively recently under capitalism and industrialization that the idea of threatening people with starvation and homelessness to force them to work became "normal" even though it creates a huge social instability.