Inequality and the life cycle