https://en.wikipedia.org/wiki/Nigerian_Civil_War "The Nigerian Civil War (also known as the Biafran War and the Nigerian-Biafran War) ... between 500,000 and 3 million Biafran civilians died of starvation."
This is just scratching the surface.
If immigrants from Africa do better than native blacks, it isn't due to the legacy of slavery. Jamaicans, Dominicans, and Haitians have endured the legacy of slavery too, yet these immigrants do better economically as well. If systematic racism was real, it would hold back all blacks.
In other words, a well educated Nigerian immigrant may not be damaged as much by the same level of racism as a Black person decended from slaves.
Live to about 50, developed a different dialect, very high crime rate - expected to be underestimated, constant violence, high domestic abuse, high illiteracy, very large families, living in squalor.
Doesn't fit neatly into any faction's magic box of solutions.
As a society, we unfortunately discriminate against people based on lots of different factors.
Biology, Culture, Environment.
Right explains the world by Biology. The Left explains the world by Culture. The Liberals explain the wold by Environment.
It is possible that you only need to scoop from one box to find a policy - but...
If a society has not solved a problem for a long time it's likely the solution is in higher dimensions.
Our political order is good at solving problems with 1 factor or 2 factors but I think our weakness appears when we need 3 factors simultaneously because it is not possible to select for that.
You need to define the term 'environment' to make clear what it is you mean here, it has far too many meanings to be useful. The essence is that the extremes on the 'left' and the 'right' bear close resemblance to each other, they use different symbology and make some different claims as to where they get their justifications from but if you remove those symbols and justifications their actions are more or less identical.
For the definition of Environment - it is used loosely but it is the physical facts of a location - climate, soil quality, material resources including non-human biological animals - wildlife and livestock.
Culture is a looser definition - it can mean food preparation techniques, language but also tools like combs and wheels and abstract tools in people's brains.
https://en.m.wikipedia.org/wiki/Slavery_in_Nigeria
See "Black rednecks and white liberals" by thomas sowell for more info (Thomas sowell is a black american economics professor and writer, for any in the audience who decide what is worth reading based on the skin color or ethnicity of the author)
Pesonally I belive anybody should read Sowell
Maybe it's not only "the legacy of slavery".