It is not unlikely that this is the allegory they had in mind primarily, but so much of the bigotry and hatred depicted applied to gays, blacks, jews, women and probably more groups, too.
We're rhyming history, every generation we're trying to overcome prejudice, oppression and hatred against a new minority, only for some to conjure up a new distinguishing feature to define a minroty to be ostracized. It feels like treading water sometimes, can't we just cut through the bullshit in one go, but no, we have to go through all the steps, while some new group (or a subgroup of a previous group) has to endure all the pain this brings. Sometimes it feels like we're not really getting better. But maybe we are. But it's still too slow, it still repeats itself, and nowadays we might experience multiple such cycles in our lifetime, when at some point it took generations to get that kind of progress?