And of course PhDs are not without value, but you need to be mindful of the cohort that has them. It will be mostly men, in a course that requires actual attendance on campus (science, tech,) etc, although not fro a course that can be organised around family life (English lit etc)
Women with PhDs are less likely to have children, precisely because the PhD is done in your 20s, and is incompatible with pregnancy and childbirth in many cases.
And of course, it is done by people who can fund themselves for an extra 3 years study.
So yes, it is of value, but if your child is being taught by someone with a doctorate, they are statistically more likely to be being taught by someone who is male, or a female who is not a mother, and has access to private finance.
if you want your children taught by a more normal person, with a more normal experience of life, and a mother, then you are more likely to get that with non PhD.
Of course you also have to be very clever, and work hard, I am not saying that, but you also have to be lucky in many ways too.
How many of us have had the opportunity to get funded for a PhD? Vert few, I would imagine.
When I look at those of my peers with PhDs, they all come from the richest quarter of the population. When I look at those peers of my children studying PhDs now, yes, they are hugely clever and dedicated, but also no one who has had to support a parent with cancer, or is ready to settle down with their partner and look at mortgages and start to raise a family, etc.