I know lots of happy doctors and lawyers. Doctors especially can find a niche that offers a good work life balance.
Of course, if the statement is about 30 year olds, then it’s probably more true than untrue that they are less happy than they will be in 20 years. They are usually working their way up at that stage of their career