Over the course of two seasons, “Kingdom” has shown great range and depth in tackling social inequalities, politics, and the horrors it comes with.
That the undead were part of it was just the lore. Or in a sense, just another means of spreading the intended message of the series.