Dont understand what makes you laugh in my post. Choosing medical sector or being a doctor as profession to become rich is a very risky move. Not only a person has to study for many years and pay a lot of money for education, but to become rich «from being a doctor» its close to impossible imo.
Stop making it look scary, medicine is a good and honourable course, a course that is worth building your career if you have the passion for it.
As for being rich, well, that is not the direct case, it's about being successful per se, the two are dependent of the mindset, and surely, medicine will make you rich, no doubt, it has produced many millionares in this world, so the time and energy invested in it is worth it.
However, I don't see the risk you are referring to here, other than the natural risk attached to any facet of life. And I don't even expect anyone to think towards that side. Medicine paves the way for many opportunities all over the world, aside from the pay, so I don't see any risk that is not worth it here.