Everything and everyone does not have to be useful all the time. Society produces a large surplus. Either this goes to make the capital owners or the high officials rich or it goes to create freedom and general welfare for the majority of the people.