Perhaps it would be fairer to say that in all walks of life the experience is gained with time in the job irrespective of Doctors, Lawyers, Pilots initial time to training.
The difference is that as you become Doctor, Surgeon, Consultant or Lawyer, Barrister, Judge your pay increses in line with your experience.
Sadly, with a variety of factors pressing down on our profession, the renumeration of pilots has changed little over the past 40 years. Ask anyone what a BOAC Captain earned in the 1950's it was £100,000. That bought alot back then, the 70s', 80s', 90s' etc it has remained the same whilst inflation has rapidly overtaken the purchasing power.
Welcome to the diminishing world of aviation.