I must say I agree, but only up to a point. I think for the most part, he is actually writing about slavery, just because it was abolished doesn't mean he stopped thinking directly about slavery. He also wrote about it to say how unjust humans can be, but it was more like an example than a metaphor.