Interestingly, Ramsey Solutions' study of 10,000 millionaires found that teacher is actually one of the top 5 careers for millionaires: https://www.ramseysolutions.com/retirement/the-national-stud...
(Disclaimer: there may be confounding variables the study didn't account for)