There are certainly some cases where the genetic data matches conventional thinking about race, but also many where they flatly contradict. It also suggests that saying something like "white people are genetically smarter on average than black people" is highly suspect. The group of people that we call "black" has a greater range of genetic profiles than the rest of the world put together, and the group we call "white" is kind of confused—to be genetically meaningful it would probably need to either include North Africans and Arabs or exclude Southern Europeans.