Reparations For All

Is it fair to be punished for something that you didn’t do? Like, for instance, own slaves. Or to be punished for something that someone else did, that you couldn’t possibly have prevented?