You almost certainly would not have, had you been born in the same period of time.
Let's not pretend that people in the past were monsters simply because they lived during the period of time they lived. Maybe they were all racist monsters by today's standards, but had they been born today they'd be completely different. We are not inherently better than them because we happen to have the dominant opinions of our time and they had the dominant opinions of theirs.