My cousin dropped out freshmen year of college and went to a coding bootcamp. He makes more than my brother and his wife (both PhDs, both professors at a decent state college) combined. They're both looking at leaving academia soon.
If money is what you are after the PhD offers one of the worst (effort / probability of becoming rich) ratio .
"Money" is subjective. Professors are paid a pittance (barely middle-class in some areas), are no longer generally respected, and are abused by their students and leadership at rates that have never been seen. There aren't many pros to academia.