All citizens of a country gain rights and privileges, and as such we have the right to access the legal system, educational system and other public goods.
The medieval and early modern social system was based on ideas of people being born into a certain social class and achieving maximum happiness by accepting the privileges and duties of their station.