You are free to think that. You need to remember, though - Alabama only had its first black representative in 1992, and that only happened because of a lawsuit reorganizing districts. In a non-racist system this would be a surprise because the black population is over 1/4th of the state and is geographically compact.
Either way, the effect of the districting is to dilute the voting power of the black population in favor of the white population. That's not legal to do, for good reason; states in the 20th century masked racial gerrymandering to hide their intent. See City of Mobile.
Affirmative action, as it was, deviated from the original purpose into discrimination against Asian students.
There are a few other ways in which it failed, but a lot of it was because it was a general principle rather than a narrowly tailored, well structured initiative.
I'd like to see that kind of carefully built system proposed to fix issues more, but with the political system we have I do not believe it will happen publicly.
I don't think that's actually true, at least not in the current century. What happened is they created maps to advantage Party A, and black people tend to vote as a near-monolith for Party B, which had the side-effect of electing fewer of black people's preferred Party B candidates.
I'm pretty certain that there would be no gerrymandering with racial side-effects today if different races had roughly similar partisan makeups.