Why do you think there are inequalities between people?
In ancient times, when people still lived in caves, all things and resources were shared. All people enjoyed each other’s benefits and there was no social stratification. With the appearance of the first types of labor, cattle breeding, fishing, and agriculture, differentiation began. Those who possessed goods, a large amount of food, resources, became more important, subjugated other people. The appearance of tools of labor also influenced, because if a person had any tool, he could exchange it for another commodity, thus accumulating resources and becoming a monopolist.
In the Middle Ages, richer people subjugated the poorer. They were hired and forced to carry out various assignments for money. Feudal lords with large lands attracted poor people to take care of their territory and crops.
Inequality continues to this day. Those who have large resources are at a higher level of social differentiation than those who have few or no resources.