Life course inequality across generations