Not even slightly the same as the scriptural statements justifying genocide and slavery.Well, it's important to take scripture in context and realize it's full of metaphors.
Jesus taught using metaphors in parables, for example. He often talked about the "lost sheep" and He meant humans.
That's like saying because Trump sometimes jokes, everything awful he says is just a joke.