I think the appropriate market response is to start pricing this behavior into our salary asks as younger engineers.
Rather than assuming a long career with increasing pay, point to cases like this in salary negotiations. Your highest income generating years maybe be 30-40.