Here is the part landlubbers never know: many pirate crews elected their captain, and could vote him out. They sailed under written articles that every hand signed, which set out how the plunder was shared and what a crew member was owed if they were hurt. The quartermaster was elected too, to keep the captain honest.
A ship run by a vote of its crew, under rules everyone agreed to, in the 1700s. We are not saying pirates invented fairness. We are saying they had a very good go at it, between all the plundering.