I think that most of those students already work during their studies and income difference is so big that they will definitely earn more money in total before 30.
I would be more worried about doctors which start to work independently a lot later and do not earn much in the beginning of their carrier (at least in my country).