I'm from Chile (and still live here). I don't know where you got the idea that anybody whot wants to be a doctor can go to a medical school without much effort. Medicine is by far the most exclusive career that you can apply to, they're always the highest scores in our version of the SAT (you can check the scores that are needed for one of our universities here https://www.uchile.cl/admision-y-matriculas/admision-regular...). There are some private colleges that have a lower entry barrier, but they're still far and above the rest of the careers that you can apply to.
Their salaries are also ridicously higher than the rest of the population, our minimum wage is 462 USD$ and a doctor can make easily 20 times that amount (and if you're a specialist you can make way more than that). Obviously there are some cases where a doctor can earn less than that, but they are in no way or form just another professional.
Yes, there are plenty of people who would work in the medical field not necessarily for the big pay but because of their calling, to care for the others. A lot of these people can't make it through the med school gauntlet and don't want to risk their mental health while in med school. Plus the crazy and insanely school loans... It's a system that disincentives the people with a calling and instead is replaced by people who can put up and have a stomach for a very complicated and inefficient system. While hospitals are run by MBAs this problem will not go away.