That a caveman used to drag his wife into the cave by her hair mean we should all be ashamed? No. He was a caveman. We are not.
What people of the past did, whether directly our ancestors or someone else’s, matters not. What matters is what we’ve learned of human compassion and treatment. We can teach that.