Or they have an understanding that they're being hazed (for lack of a better term) but if they make partner/finish residency they have a not necessarily cushy life but are, as you say, going to be well-paid and have a decent professional life if they like the work.