Pirates get a bad rap. Their trade was often the only course open to a poor person in the 17th century, and as an institution it treated its people uncommonly well, if you overlook the pillaging and murder.
On the Spanish Main, most pirate ships were democracies. You elected your captain, and you could vote to replace him. Spoils were divided evenly. Morale was generally high, so much so that pirates often overwhelmed trade vessels by force of numbers. And there was even a social insurance system, so a wounded pirate would be guaranteed money or gold at a certain scale.
Best of all, buccaneers were egalitarian. If they took a slave ship, they freed the slaves. Occasionally they’d force carpenters or other specialists to sail with them, but they’d free them afterward, and they could join the crew if they chose. That’s more noble, in its way, than a lot of lawful enterprises.