It's no longer a guaranteed path to being rich, for the record. Since the 1990s, the average income of physicians has grown at less than the rate of inflation (Median physician compensation was ~$140k in 2000 and is ~$240k today). It's gone from being maybe a top 2% income to being a top 10% income.
Not to say it's not still remunerative, or anyone is going to go poor choosing to become a doctor, but there are other paths to a good wage that don't require 8 years of schooling or nearly as much student debt.
Not to say it's not still remunerative, or anyone is going to go poor choosing to become a doctor, but there are other paths to a good wage that don't require 8 years of schooling or nearly as much student debt.