It's how the Muslim Brotherhood became popular in Egypt in the 1930s and 1940s onwards, because it was providing all the welfare that local government, tribal government, and eventually national government was not.