Natural inequality, the differences between people in all manner of personal attributes and their individuality, is as much a function of freedom as equality before the law.
Were it not for inequality, there would be either no survival or no society. Assuming that all were universally competent in all things, people would have no need of each other, and with out that competence, some external force would arise to exploit those areas lacking.
Instead, all people are endowed from birth with different potentials and talents. In this way there are needs that some people have that can only be fulfilled by interaction with others. And that doesn’t account for material differences which may limit or enhance the activities of humans, but they are no different.
Dealing with inequality, that is attempting to have needs fulfilled which any given individual is unable to do on his or her own, is the basis of society. It is the motive that brings us together. There are two basic ways that people can use, and have used, to achieve this, by the institution of either slavery or trade. Only one of these is capable of producing, preserving, and perpetuating freedom.