As an analogy, if I have stolen money from you for years, stopping me from stealing further money doesn't repair the damage I've done. You would rightly expect your money back, or something of comparable value.
Affirmative action programs are specifically designed to seek out and uplift people who have been generationally affected in that way. It recompenses them by giving them job/education opportunities that they would likely have had if their parents (and their parents, etc.) weren't artificially held back.