A major trait of a leader is that a leader thinks about the benefit of others before their own.
Society as an organism exists for the benefit of the individual, and not vice versa. The individual does not exist for the society. But, this is a default rule. Society has to function for the individual to function, for the individual to survive. The person who makes sure that the society works has to be from the segment of the society that they represent. In other words, the leader must be from the community itself. She / he must be a member of the same community that they are a leader of.
In order for the society to function, the individuals must function according to the rules of the society. The rules of the society must be specified, implemented, followed and monitored. To do that, an authority needs to be employed by the society. Thus, an individual is monitored by the society or by the authority employed by the society, stopping an individual from acting in an uncontrolled manner. the individual who has a tendency to act in an uncontrolled manner now has a reason to rebel, since their personal freedom is compromised by the society at large.
A mature society is on in which there is minimum requirement of control because the individual members are conscientious. there is a balance between authority and freedom of the individual.
The balance cannot be achieved without effective leadership. The leader has the responsibility to educate the society towards their responsibility and make sure that the society is effective in appointing or electing effective authority.
An ideal society is one which works for every individual.