This is strange advice? I would assume becoming a doctor is hard, extremely expensive, takes a long time and not something you should go into because ‘you see your friends making 6 figures’
My daughter went to med school right out of college and is just now doing her last year of fellowship in her specialty. Next year, she'll be earning much more than I do. It was expensive, but not enormously so compared to what one will earn.