Just for comparison...DH nearly went to study medicine then changed his mind at the last minute (before we met) and studied economics going into the financial sector after graduation.
Early 2000s post graduation did a qualification with a leading firm whilst working. Salary ranged from £28k-31k over the time. Lots of late nights and overtime without any additional pay that doctors would get but on the flip side, all his training paid for, generous study leave, CPD days, qualification fees paid for and a generous overall package (including car, health insurance etc over and above salary).
Post qualification, salary jumped to £45k and by 26, he was on £60k. He moved roles over this period as not tied to one place and competitive market. In gaps between jobs, took contracting roles paying £400+ per day - more than locum doctor rates unless you take on a last second locum in this environment and much better conditions. By 30, he was earning upwards of £80k and now in late 30s (where his school and uni peers who studied medicine are now consultants, finally just into 6 figures and affected by the utterly ridiculous pension rules), he is earning over £200k. Add to this a very generous benefit package, flexible lifestyle.
I know of multiple former doctors who left the profession to work in other sectors and on similar salaries to DH. These are the salaries and conditions doctors are able to achieve outside the medical field - what incentive are we giving them to stay at the moment? Horrific working conditions, stress, no say over where in the country they work, unable to take annual leave when they want to, extortionate childcare due to shifts, the list goes on... There is only so much 'wanted to be a doctor' they will take before they decide it is not worth the expense on their life, family and mental health. We need to see this and improve retention before it is too late. The bigger problem is retention but this will only be achieved by paying better and making the career attractive to bright individuals who are capable of so much.
As well as having my doctor being one who 'wanted to be a doctor', I want them to be highly intelligent, capable, empathic and able to make the quick decisions under pressure. These individuals are highly sought after everywhere - why should they be doctors right now?!