A just society has fair laws. But most societies aren't like that. So what can you do? The opponent of slavery, Henry David Thoreau, gave one answer in his essay 'On Civil Disobedience': follow your conscience and break the law on moral grounds rather than be a cog in an unjust system.