I went to the same dentist for years as a child. Brushed my teeth once a day, never had any issues at all. All of sudden, during a regular checkup, he told my parents (I was ~15 at the time) that I had 9 cavities and needed fillings. In the 20 years since, I have never had a single cavity. And what a shock, he sold his practice between that procedure and my next checkup. I fully believe he was just pumping up his revenue to increase the sale price, and my parents weren't health literate enough to get a second opinion, and I was too young to know that just because he has a white coat on doesn't mean he's a good person.
Dentists are in the sweet spot where they actually are very important and necessary (as opposed to chiropractors, who are universally charlatans and frauds), but they don't get quite the scrutiny and oversight that physicians are used to. And they make as much as some of the top tier physician specialties. PCPs, OBs, ER, etc. all make less than dentists by and large.